MediaWiki REL1_40
FormattedRCFeed Class Reference

Base class for RCFeed implementations that use RCFeedFormatter. More...

Inherits RCFeed.

Inherited by RedisPubSubFeedEngine, and UDPRCFeedEngine.

Collaboration diagram for FormattedRCFeed:

Public Member Functions

 __construct (array $params)
 
 notify (RecentChange $rc, $actionComment=null)
 
 send (array $feed, $line)
 Send some text to the specified feed.
 

Additional Inherited Members

- Static Public Member Functions inherited from RCFeed
static factory (array $params)
 

Detailed Description

Base class for RCFeed implementations that use RCFeedFormatter.

Parameters:

See also
$wgRCFeeds
Since
1.29

Definition at line 30 of file FormattedRCFeed.php.

Constructor & Destructor Documentation

◆ __construct()

FormattedRCFeed::__construct ( array $params)
Parameters
array$params

Reimplemented from RCFeed.

Definition at line 36 of file FormattedRCFeed.php.

Member Function Documentation

◆ notify()

FormattedRCFeed::notify ( RecentChange $rc,
$actionComment = null )
Parameters
RecentChange$rc
string | null$actionComment
Returns
bool Success

Reimplemented from RCFeed.

Definition at line 54 of file FormattedRCFeed.php.

References send().

◆ send()

FormattedRCFeed::send ( array $feed,
$line )
abstract

Send some text to the specified feed.

Parameters
array$feedThe feed, as configured in an associative array
string$lineThe text to send
Returns
bool Success

Reimplemented in RedisPubSubFeedEngine, and UDPRCFeedEngine.

Referenced by notify().


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