FeedUtils Class Reference

List of all members.

Static Public Member Functions

static checkPurge ($timekey, $key)
static checkFeedOutput ($type)
static formatDiff ($row)
 Format a diff for the newsfeed.
static formatDiffRow ($title, $oldid, $newid, $timestamp, $comment, $actiontext='')
static applyDiffStyle ($text)
 Hacky application of diff styles for the feeds.


Detailed Description

Definition at line 4 of file FeedUtils.php.


Member Function Documentation

static FeedUtils::applyDiffStyle ( text  )  [static]

Hacky application of diff styles for the feeds.

Might be 'cleaner' to use DOM or XSLT or something, but *gack* it's a pain in the ass.

Parameters:
$text String:
Returns:
string
Access:
private

Definition at line 136 of file FeedUtils.php.

References $text.

Referenced by formatDiffRow().

static FeedUtils::checkFeedOutput ( type  )  [static]

Definition at line 15 of file FeedUtils.php.

References $type, $wgFeed, $wgFeedClasses, $wgOut, and wfHttpError().

Referenced by ChangesFeed::execute(), and PageHistory::feed().

static FeedUtils::checkPurge ( timekey,
key 
) [static]

Definition at line 6 of file FeedUtils.php.

References $key, $messageMemc, $purge, $wgRequest, and $wgUser.

Referenced by ChangesFeed::execute().

static FeedUtils::formatDiff ( row  )  [static]

static FeedUtils::formatDiffRow ( title,
oldid,
newid,
timestamp,
comment,
actiontext = '' 
) [static]


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

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