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

List of all members.

Public Member Functions

 httpHeaders ()
 Setup and send HTTP headers.
 outFooter ()
 Generate Footer of the feed.
 outHeader ()
 Generate Header of the feed.
 outItem ($item)
 Generate an item.

Protected Member Functions

 outXmlHeader ()
 Output the initial XML headers.

Private Member Functions

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

Detailed Description

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

Definition at line 189 of file Feed.php.


Member Function Documentation

ChannelFeed::contentType ( ) [private]

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

Returns:
string

Definition at line 245 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 226 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>";

Reimplemented in AtomFeed, and RSSFeed.

ChannelFeed::outItem ( item) [abstract]

Generate an item.

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

Reimplemented in AtomFeed, and RSSFeed.

ChannelFeed::outXmlHeader ( ) [protected]

Output the initial XML headers.

Definition at line 262 of file Feed.php.


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