ChangesFeed Class Reference

List of all members.

Public Member Functions

 __construct ($format, $type)
 getFeedObject ($title, $description)
 execute ($feed, $rows, $limit=0, $hideminor=false, $lastmod=false, $target='')
 saveToCache ($feed, $timekey, $key)
 loadFromCache ($lastmod, $timekey, $key)

Static Public Member Functions

static generateFeed ($rows, &$feed)
 Generate the feed items given a row from the database.

Public Attributes

 $format
 $type
 $titleMsg
 $descMsg


Detailed Description

Definition at line 3 of file ChangesFeed.php.


Constructor & Destructor Documentation

ChangesFeed::__construct ( format,
type 
)

Definition at line 7 of file ChangesFeed.php.

References $format, and $type.


Member Function Documentation

ChangesFeed::execute ( feed,
rows,
limit = 0,
hideminor = false,
lastmod = false,
target = '' 
)

static ChangesFeed::generateFeed ( rows,
&$  feed 
) [static]

Generate the feed items given a row from the database.

Parameters:
$rows Database resource with recentchanges rows
$feed Feed object

Definition at line 93 of file ChangesFeed.php.

References $n, $obj, $rows, $title, Revision::DELETED_USER, FeedUtils::formatDiff(), Title::makeTitle(), wfMsgHtml(), wfProfileIn(), and wfProfileOut().

Referenced by execute().

ChangesFeed::getFeedObject ( title,
description 
)

Definition at line 12 of file ChangesFeed.php.

References $wgContLanguageCode, $wgFeedClasses, $wgSitename, and $wgTitle.

ChangesFeed::loadFromCache ( lastmod,
timekey,
key 
)

Definition at line 62 of file ChangesFeed.php.

References $key, $messageMemc, $wgFeedCacheTimeout, wfDebug(), and wfTimestamp().

Referenced by execute().

ChangesFeed::saveToCache ( feed,
timekey,
key 
)

Definition at line 55 of file ChangesFeed.php.

References $key, $messageMemc, and wfTimestamp().

Referenced by execute().


Member Data Documentation

ChangesFeed::$descMsg

Definition at line 5 of file ChangesFeed.php.

ChangesFeed::$format

Definition at line 5 of file ChangesFeed.php.

Referenced by __construct().

ChangesFeed::$titleMsg

Definition at line 5 of file ChangesFeed.php.

ChangesFeed::$type

Definition at line 5 of file ChangesFeed.php.

Referenced by __construct().


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

Generated on Sat Sep 5 02:08:34 2009 for MediaWiki by  doxygen 1.5.9