Inherited by ChannelFeed.
Public Member Functions | |
| __construct ($Title, $Description, $Url, $Date= '', $Author= '', $Comments= '') | |
| #@- | |
| xmlEncode ($string) | |
| getTitle () | |
| getUrl () | |
| getDescription () | |
| getLanguage () | |
| getDate () | |
| getAuthor () | |
| getComments () | |
Static Public Member Functions | |
| static | stripComment ($text) |
| Quickie hack. | |
Public Attributes | |
| $Title = 'Wiki' | |
| $Description = '' | |
| $Url = '' | |
| $Date = '' | |
| $Author = '' | |
Contain a feed class as well as classes to build rss / atom ... feeds Available feeds are defined in Defines.php A base class for basic support for outputting syndication feeds in RSS and other formats.
Definition at line 30 of file Feed.php.
| FeedItem::__construct | ( | $ | Title, | |
| $ | Description, | |||
| $ | Url, | |||
| $ | Date = '', |
|||
| $ | Author = '', |
|||
| $ | Comments = '' | |||
| ) |
| FeedItem::getAuthor | ( | ) |
| FeedItem::getComments | ( | ) |
| FeedItem::getDescription | ( | ) |
Definition at line 69 of file Feed.php.
References xmlEncode().
Referenced by AtomFeed::outHeader(), and RSSFeed::outHeader().
| FeedItem::getLanguage | ( | ) |
Definition at line 73 of file Feed.php.
References $wgContLanguageCode.
Referenced by RSSFeed::outHeader().
| FeedItem::getTitle | ( | ) |
Definition at line 61 of file Feed.php.
References xmlEncode().
Referenced by AtomFeed::outHeader(), and RSSFeed::outHeader().
| FeedItem::getUrl | ( | ) |
| static FeedItem::stripComment | ( | $ | text | ) | [static] |
Quickie hack.
.. strip out wikilinks to more legible form from the comment.
Definition at line 91 of file Feed.php.
References $text.
Referenced by PageHistory::feedItem(), SpecialNewpages::feedItemDesc(), and SpecialContributions::feedItemDesc().
| FeedItem::xmlEncode | ( | $ | string | ) |
Definition at line 55 of file Feed.php.
Referenced by getAuthor(), getComments(), getDescription(), getTitle(), and getUrl().
| FeedItem::$Author = '' |
| FeedItem::$Date = '' |
| FeedItem::$Description = '' |
| FeedItem::$Title = 'Wiki' |
| FeedItem::$Url = '' |
1.5.9