[ Index ]

PHP Cross Reference of MyBB

title

Body

[close]

/inc/ -> class_feedgeneration.php (summary)

(no description)

File Size: 227 lines (7 kb)
Included or required: 1 time
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

FeedGenerator:: (6 methods):
  set_feed_format()
  set_channel()
  add_item()
  generate_feed()
  sanitize_content()
  output_feed()


Class: FeedGenerator  - X-Ref

MyBB 1.6
Copyright 2010 MyBB Group, All Rights Reserved

Website: http://mybb.com
License: http://mybb.com/about/license

$Id$
set_feed_format($feed_format)   X-Ref
Set the type of feed to be used.

param: string The feed type.

set_channel($channel)   X-Ref
Sets the channel information for the RSS feed.

param: array The channel information

add_item($item)   X-Ref
Adds an item to the RSS feed.

param: array The item.

generate_feed()   X-Ref
Generate and echo XML for the feed.


sanitize_content($content)   X-Ref
Sanitize content suitable for RSS feeds.

param: string The string we wish to sanitize.
return: string The cleaned string.

output_feed()   X-Ref
Output the feed XML.




Generated: Tue Oct 8 19:19:50 2013 Cross-referenced by PHPXref 0.7.1