MediaWiki  REL1_22
ChannelFeed Class Reference
Inheritance diagram for ChannelFeed:
Collaboration diagram for ChannelFeed:

List of all members.

Public Member Functions

 contentType ()
 Return an internet media type to be sent in the headers.
 httpHeaders ()
 Setup and send HTTP headers.
 outFooter ()
 Generate Footer of the feed.
 outHeader ()
 Generate Header of the feed.
 outItem ($item)
 Generate an item.
 outXmlHeader ()
 Output the initial XML headers with a stylesheet for legibility if someone finds it in a browser.

Detailed Description

Todo:
document (needs one-sentence top-level class description).

Definition at line 185 of file Feed.php.


Member Function Documentation

Return an internet media type to be sent in the headers.

Returns:
string
Access:
private

Definition at line 243 of file Feed.php.

Setup and send HTTP headers.

Don't send any content; content might end up being cached and re-sent with these same headers later.

This should be called from the outHeader() method, but can also be called separately.

Definition at line 223 of file Feed.php.

ChannelFeed::outFooter ( ) [abstract]

Generate Footer of the feed.

Example:
 print "</feed>";

Reimplemented in AtomFeed, and RSSFeed.

ChannelFeed::outHeader ( ) [abstract]

Generate Header of the feed.

Example:
 print "<feed>";
Parameters:
$item

Reimplemented in AtomFeed, and RSSFeed.

ChannelFeed::outItem ( item) [abstract]

Generate an item.

Example:
 print "<item>...</item>";
Parameters:
$item

Reimplemented in AtomFeed, and RSSFeed.

Output the initial XML headers with a stylesheet for legibility if someone finds it in a browser.

Access:
private

Definition at line 255 of file Feed.php.


The documentation for this class was generated from the following file: