Message group that contains a subset of keys of another group. More...
Public Member Functions | |
| __construct (string $id, string $label, string $parentId, array $subsetKeys) | |
| isMeta () | |
| @inheritDoc | |
| exists () | |
| @inheritDoc | |
| load ( $code) | |
| @inheritDoc | |
| getKeys () | |
| @inheritDoc | |
| getDefinitions () | |
| @inheritDoc | |
| getTags ( $type=null) | |
| @inheritDoc | |
| getMessage ( $key, $code) | |
| @inheritDoc | |
| getIcon () | |
| @inheritDoc | |
Public Member Functions inherited from MessageGroupOld | |
| getLabel (?IContextSource $context=null) | |
| setLabel ( $value) | |
| getId () | |
| 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. | |
| getDescription (?IContextSource $context=null) | |
| @inheritDoc | |
| setDescription (string $value) | |
| getSourceLanguage () | |
| @inheritDoc | |
| getMangler () | |
| getUniqueDefinitions () | |
| This function can be used for meta message groups to list their "own" messages. | |
| initCollection ( $code, $unique=false) | |
| Creates a new MessageCollection for this group. | |
| getValidator () | |
| @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 Member Functions | |
| getLogger () | |
| getParentGroup () | |
Protected Member Functions inherited from MessageGroupOld | |
| isSourceLanguage ( $code) | |
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. | |
Static Protected Member Functions inherited from MessageGroupOld | |
| static | addContext (Message $message, ?IContextSource $context=null) |
Protected Attributes inherited from MessageGroupOld | |
| $label = 'none' | |
| $id = 'none' | |
| $namespace = NS_MEDIAWIKI | |
| $description = null | |
| $meta = false | |
| $mangler = null | |
| $messages = [] | |
Message group that contains a subset of keys of another group.
Definition at line 15 of file SubsetMessageGroup.php.
| SubsetMessageGroup::__construct | ( | string | $id, |
| string | $label, | ||
| string | $parentId, | ||
| array | $subsetKeys ) |
Definition at line 25 of file SubsetMessageGroup.php.
| SubsetMessageGroup::exists | ( | ) |
@inheritDoc
Reimplemented from MessageGroupOld.
Definition at line 48 of file SubsetMessageGroup.php.
| SubsetMessageGroup::getDefinitions | ( | ) |
@inheritDoc
Reimplemented from MessageGroupOld.
Definition at line 83 of file SubsetMessageGroup.php.
| SubsetMessageGroup::getIcon | ( | ) |
@inheritDoc
Reimplemented from MessageGroupOld.
Definition at line 133 of file SubsetMessageGroup.php.
| SubsetMessageGroup::getKeys | ( | ) |
@inheritDoc
Reimplemented from MessageGroupOld.
Definition at line 58 of file SubsetMessageGroup.php.
|
protected |
Definition at line 38 of file SubsetMessageGroup.php.
| SubsetMessageGroup::getMessage | ( | $key, | |
| $code ) |
@inheritDoc
Reimplemented from MessageGroupOld.
Definition at line 121 of file SubsetMessageGroup.php.
|
protected |
Definition at line 137 of file SubsetMessageGroup.php.
| SubsetMessageGroup::getTags | ( | $type = null | ) |
@inheritDoc
Reimplemented from MessageGroupOld.
Definition at line 108 of file SubsetMessageGroup.php.
| SubsetMessageGroup::isMeta | ( | ) |
@inheritDoc
Reimplemented from MessageGroupOld.
Definition at line 43 of file SubsetMessageGroup.php.
| SubsetMessageGroup::load | ( | $code | ) |
@inheritDoc
Reimplemented from MessageGroupOld.
Definition at line 53 of file SubsetMessageGroup.php.