Public Member Functions | |
__construct () | |
These groups are always generated for one language. | |
setLanguage ($code) | |
getId () | |
getLabel (IContextSource $context=null) | |
getDescription (IContextSource $context=null) | |
Returns a longer description about the group. | |
getDefinitions () | |
Fetch definitions from database. | |
getChecker () | |
Returns a message checker object or null. | |
getMessageContent (MessageHandle $handle) | |
Subpage language code, if any in the title, is ignored. | |
Protected Member Functions | |
getRCCutoff () | |
getQueryConditions () | |
Allows subclasses to partially customize the query. | |
matchingMessage (MessageHandle $msg) | |
Allows subclasses to filter out more unwanted messages. | |
Protected Attributes | |
$namespace = false | |
The namespace where all the messages of this group belong. | |
$language |
Definition at line 16 of file RecentMessageGroup.php.
RecentMessageGroup::__construct | ( | ) |
These groups are always generated for one language.
Method setLanguage must be called before calling getDefinitions.
Reimplemented from MessageGroupOld.
Definition at line 29 of file RecentMessageGroup.php.
RecentMessageGroup::getChecker | ( | ) |
Returns a message checker object or null.
Reimplemented from MessageGroupOld.
Definition at line 131 of file RecentMessageGroup.php.
RecentMessageGroup::getDefinitions | ( | ) |
Fetch definitions from database.
Reimplemented from WikiMessageGroup.
Definition at line 88 of file RecentMessageGroup.php.
RecentMessageGroup::getDescription | ( | IContextSource $ | context = null |
) |
Returns a longer description about the group.
Description can use wikitext. Parameter $context was added in 2012-10-22.
IContextSource | $context Context can be used by subclasses to provide translated descriptions, for example. |
Reimplemented from MessageGroupOld.
Reimplemented in RecentAdditionsMessageGroup.
Definition at line 47 of file RecentMessageGroup.php.
RecentMessageGroup::getId | ( | ) |
Reimplemented from MessageGroupOld.
Reimplemented in RecentAdditionsMessageGroup.
Definition at line 36 of file RecentMessageGroup.php.
RecentMessageGroup::getLabel | ( | IContextSource $ | context = null |
) |
IContextSource | $context |
Reimplemented from MessageGroupOld.
Reimplemented in RecentAdditionsMessageGroup.
Definition at line 40 of file RecentMessageGroup.php.
RecentMessageGroup::getMessageContent | ( | MessageHandle $ | handle | ) |
Subpage language code, if any in the title, is ignored.
Definition at line 138 of file RecentMessageGroup.php.
RecentMessageGroup::getQueryConditions | ( | ) | [protected] |
Allows subclasses to partially customize the query.
Reimplemented in RecentAdditionsMessageGroup.
Definition at line 65 of file RecentMessageGroup.php.
Referenced by getDefinitions().
RecentMessageGroup::getRCCutoff | ( | ) | [protected] |
Definition at line 54 of file RecentMessageGroup.php.
Referenced by getQueryConditions(), and RecentAdditionsMessageGroup::getQueryConditions().
RecentMessageGroup::matchingMessage | ( | MessageHandle $ | msg | ) | [protected] |
Allows subclasses to filter out more unwanted messages.
MessageHandle | $msg |
Reimplemented in RecentAdditionsMessageGroup.
Definition at line 84 of file RecentMessageGroup.php.
Referenced by getDefinitions().
RecentMessageGroup::setLanguage | ( | $ | code | ) |
Definition at line 32 of file RecentMessageGroup.php.
RecentMessageGroup::$language [protected] |
Definition at line 23 of file RecentMessageGroup.php.
RecentMessageGroup::$namespace = false [protected] |
The namespace where all the messages of this group belong.
If the group has messages from multiple namespaces, set this to false and look how RecentMessageGroup implements the definitions.
Reimplemented from MessageGroupOld.
Definition at line 21 of file RecentMessageGroup.php.