Public Member Functions | |
getId () | |
getLabel (?IContextSource $context=null) | |
getDescription (?IContextSource $context=null) | |
Returns a longer description about the group. | |
getDefinitions () | |
Fetch definitions from database. | |
Public Member Functions inherited from WikiMessageGroup | |
__construct ( $id, $source) | |
getSourceLanguage () | |
Defaults to wiki content language. | |
getMessage ( $key, $code) | |
Returns of stored translation of message specified by the $key in language code $code. | |
Public Member Functions inherited from MessageGroupOld | |
setLabel ( $value) | |
setId ( $value) | |
getNamespace () | |
Get the namespace where all the messages of this group belong. | |
setNamespace ( $ns) | |
Set the namespace where all the messages of this group belong. | |
setDescription ( $value) | |
getIcon () | |
Returns an icon for this message group if any. | |
isMeta () | |
getMangler () | |
load ( $code) | |
Returns a list of messages in a given language code. | |
getUniqueDefinitions () | |
This function can be used for meta message groups to list their "own" messages. | |
getKeys () | |
@inheritDoc | |
initCollection ( $code, $unique=false) | |
Creates a new MessageCollection for this group. | |
exists () | |
Can be overwritten to return false if something is wrong. | |
getValidator () | |
Returns a message validator object or null. | |
getTags ( $type=null) | |
Returns message tags. | |
getMessageGroupStates () | |
Get the message group workflow state configuration. | |
getTranslatableLanguages () | |
@inheritDoc | |
getSupportConfig () | |
Gets support URL defined for the group if any. | |
getRelatedPage () | |
@inheritDoc | |
Public Member Functions inherited from MessageGroup | |
initCollection ( $code) | |
Initialises a message collection with the given language code, message definitions and message tags. | |
Additional Inherited Members | |
Static Public Member Functions inherited from MessageGroupOld | |
static | normaliseKeys ( $array) |
Protected Member Functions inherited from MessageGroupOld | |
isSourceLanguage ( $code) | |
Static Protected Member Functions inherited from MessageGroupOld | |
static | addContext (Message $message, ?IContextSource $context=null) |
Protected Attributes inherited from WikiMessageGroup | |
$source | |
Protected Attributes inherited from MessageGroupOld | |
$label = 'none' | |
$id = 'none' | |
$namespace = NS_MEDIAWIKI | |
$description = null | |
$meta = false | |
$mangler = null | |
$messages = [] | |
Definition at line 23 of file WorkflowStatesMessageGroup.php.
WorkflowStatesMessageGroup::__construct | ( | ) |
Definition at line 25 of file WorkflowStatesMessageGroup.php.
WorkflowStatesMessageGroup::getDefinitions | ( | ) |
Fetch definitions from database.
Reimplemented from WikiMessageGroup.
Definition at line 46 of file WorkflowStatesMessageGroup.php.
WorkflowStatesMessageGroup::getDescription | ( | ?IContextSource | $context = null | ) |
Returns a longer description about the group.
Description can use wikitext. Parameter $context was added in 2012-10-22.
IContextSource | null | $context | Context can be used by subclasses to provide translated descriptions, for example. |
Reimplemented from MessageGroupOld.
Definition at line 39 of file WorkflowStatesMessageGroup.php.
WorkflowStatesMessageGroup::getId | ( | ) |
Reimplemented from MessageGroupOld.
Definition at line 28 of file WorkflowStatesMessageGroup.php.
WorkflowStatesMessageGroup::getLabel | ( | ?IContextSource | $context = null | ) |
IContextSource | null | $context |
Reimplemented from MessageGroupOld.
Definition at line 32 of file WorkflowStatesMessageGroup.php.