MediaWiki REL1_34
IRCColourfulRCFeedFormatter Class Reference

Generates a colourful notification intended for humans on IRC. More...

Inheritance diagram for IRCColourfulRCFeedFormatter:
Collaboration diagram for IRCColourfulRCFeedFormatter:

Public Member Functions

 getLine (array $feed, RecentChange $rc, $actionComment)
 

Static Public Member Functions

static cleanupForIRC ( $text)
 Remove newlines, carriage returns and decode html entities.
 

Detailed Description

Generates a colourful notification intended for humans on IRC.

Since
1.22

Definition at line 30 of file IRCColourfulRCFeedFormatter.php.

Member Function Documentation

◆ cleanupForIRC()

static IRCColourfulRCFeedFormatter::cleanupForIRC (   $text)
static

Remove newlines, carriage returns and decode html entities.

Parameters
string$text
Returns
string

Definition at line 139 of file IRCColourfulRCFeedFormatter.php.

Referenced by getLine().

◆ getLine()

IRCColourfulRCFeedFormatter::getLine ( array  $feed,
RecentChange  $rc,
  $actionComment 
)

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