MediaWiki REL1_34
|
Base class for RC feed engines that send messages in a freely configurable format to a uri-addressed engine set in $wgRCEngines. More...
Public Member Functions | |
__construct (array $params=[]) | |
notify (RecentChange $rc, $actionComment=null) | |
send (array $feed, $line) | |
Send some text to the specified feed. | |
Private Attributes | |
$params | |
Additional Inherited Members | |
Static Public Member Functions inherited from RCFeed | |
static | factory (array $params) |
Base class for RC feed engines that send messages in a freely configurable format to a uri-addressed engine set in $wgRCEngines.
Definition at line 26 of file FormattedRCFeed.php.
FormattedRCFeed::__construct | ( | array | $params = [] | ) |
array | $params |
|
Reimplemented from RCFeed.
Definition at line 35 of file FormattedRCFeed.php.
References $params.
FormattedRCFeed::notify | ( | RecentChange | $rc, |
$actionComment = null ) |
RecentChange | $rc | |
string | null | $actionComment |
Reimplemented from RCFeed.
Definition at line 53 of file FormattedRCFeed.php.
|
abstract |
Send some text to the specified feed.
array | $feed | The feed, as configured in an associative array |
string | $line | The text to send |
Reimplemented in RedisPubSubFeedEngine, and UDPRCFeedEngine.
Referenced by notify().
|
private |
Definition at line 27 of file FormattedRCFeed.php.
Referenced by __construct(), and notify().