Public Member Functions | |
| __construct () | |
| setLanguage must be called before calling getDefinitions. | |
| setLanguage (string $code) | |
| getId () | |
| @inheritDoc | |
| getLabel (?IContextSource $context=null) | |
| @inheritDoc | |
| getDescription (?IContextSource $context=null) | |
| @inheritDoc | |
| getDefinitions () | |
| @inheritDoc | |
| getValidator () | |
| @inheritDoc | |
| getMessageContent (MessageHandle $handle) | |
| Subpage language code, if any in the title, is ignored. | |
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 (string $value) | |
| getIcon () | |
| @inheritDoc | |
| isMeta () | |
| @inheritDoc | |
| getMangler () | |
| load ( $code) | |
| @inheritDoc | |
| 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. | |
| getTags ( $type=null) | |
| @inheritDoc | |
| 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. | |
Protected Attributes | |
| $namespace = false | |
| $language | |
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 = [] | |
Additional Inherited Members | |
Static Public Member Functions inherited from MessageGroupOld | |
| static | normaliseKeys ( $array) |
Public Attributes inherited from MessageGroup | |
| const | DEFAULT_LANGUAGES = null |
| Return value from getTranslatableLanguages when to use defaults. | |
Protected Member Functions inherited from MessageGroupOld | |
| isSourceLanguage ( $code) | |
Static Protected Member Functions inherited from MessageGroupOld | |
| static | addContext (Message $message, ?IContextSource $context=null) |
Definition at line 23 of file SandboxMessageGroup.php.
| SandboxMessageGroup::__construct | ( | ) |
setLanguage must be called before calling getDefinitions.
Definition at line 36 of file SandboxMessageGroup.php.
| SandboxMessageGroup::getDefinitions | ( | ) |
@inheritDoc
Reimplemented from WikiMessageGroup.
Definition at line 61 of file SandboxMessageGroup.php.
| SandboxMessageGroup::getDescription | ( | ?IContextSource | $context = null | ) |
@inheritDoc
Reimplemented from MessageGroupOld.
Definition at line 55 of file SandboxMessageGroup.php.
| SandboxMessageGroup::getId | ( | ) |
@inheritDoc
Reimplemented from MessageGroupOld.
Definition at line 44 of file SandboxMessageGroup.php.
| SandboxMessageGroup::getLabel | ( | ?IContextSource | $context = null | ) |
@inheritDoc
Reimplemented from MessageGroupOld.
Definition at line 49 of file SandboxMessageGroup.php.
| SandboxMessageGroup::getMessageContent | ( | MessageHandle | $handle | ) |
Subpage language code, if any in the title, is ignored.
| MessageHandle | $handle |
Definition at line 150 of file SandboxMessageGroup.php.
| SandboxMessageGroup::getValidator | ( | ) |
@inheritDoc
Reimplemented from MessageGroupOld.
Definition at line 141 of file SandboxMessageGroup.php.
| SandboxMessageGroup::setLanguage | ( | string | $code | ) |
Definition at line 39 of file SandboxMessageGroup.php.
|
protected |
Definition at line 31 of file SandboxMessageGroup.php.
|
protected |
Definition at line 29 of file SandboxMessageGroup.php.