MediaWiki  REL1_22
RCFeedFormatter Interface Reference
Inheritance diagram for RCFeedFormatter:

List of all members.

Public Member Functions

 getLine (array $feed, RecentChange $rc, $actionComment)
 Formats the line for the live feed.

Detailed Description

Definition at line 2 of file RCFeedFormatter.php.


Member Function Documentation

RCFeedFormatter::getLine ( array feed,
RecentChange rc,
actionComment 
)

Formats the line for the live feed.

Parameters:
array$feedThe feed, as configured in an associative array.
RecentChange$rcThe RecentChange object showing what sort of event has taken place.
string | null$actionComment
Returns:
string The text to send.

Implemented in JSONRCFeedFormatter, and IRCColourfulRCFeedFormatter.


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