MediaWiki  REL1_19
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 ()
 #@-
 outFooter ()
 Generate Footer of the feed.
 outHeader ()
 #@+ Abstract function, override!
 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 186 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.

Referenced by httpHeaders().

Here is the caller graph for this function:

#@-

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.

References $wgOut, $wgVaryOnXFP, and contentType().

Referenced by outXmlHeader().

Here is the call graph for this function:

Here is the caller graph for this function:

Generate Footer of the feed.

Reimplemented in AtomFeed, and RSSFeed.

Definition at line 210 of file Feed.php.

#@+ Abstract function, override!

Generate Header of the feed

Reimplemented in AtomFeed, and RSSFeed.

Definition at line 195 of file Feed.php.

ChannelFeed::outItem ( item)

Generate an item.

Parameters:
$item

Reimplemented in AtomFeed, and RSSFeed.

Definition at line 203 of file Feed.php.

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.

References $wgStylePath, $wgStyleVersion, echo, httpHeaders(), and wfExpandUrl().

Referenced by RSSFeed\outHeader(), and AtomFeed\outHeader().

Here is the call graph for this function:

Here is the caller graph for this function:


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