Inherits ChannelFeed.
Public Member Functions | |
| formatTime ($ts) | |
| Format a date given a timestamp. | |
| outHeader () | |
| Ouput an RSS 2.0 header. | |
| outItem ($item) | |
| Output an RSS 2.0 item. | |
| outFooter () | |
| Ouput an RSS 2.0 footer. | |
Definition at line 182 of file Feed.php.
| RSSFeed::formatTime | ( | $ | ts | ) |
Format a date given a timestamp.
| integer | $ts Timestamp |
Definition at line 189 of file Feed.php.
References $ts, and wfTimestamp().
Referenced by AtomFeed::outHeader(), outHeader(), AtomFeed::outItem(), and outItem().
| RSSFeed::outFooter | ( | ) |
| RSSFeed::outHeader | ( | ) |
Ouput an RSS 2.0 header.
Reimplemented from ChannelFeed.
Definition at line 196 of file Feed.php.
References $wgVersion, formatTime(), FeedItem::getDescription(), FeedItem::getLanguage(), FeedItem::getTitle(), FeedItem::getUrl(), ChannelFeed::outXmlHeader(), print, and wfTimestampNow().
| RSSFeed::outItem | ( | $ | item | ) |
Output an RSS 2.0 item.
| FeedItem | item to be output |
Reimplemented from ChannelFeed.
Definition at line 215 of file Feed.php.
References formatTime(), and print.
1.5.9