Static Public Member Functions | |
static | get ($group, $key) |
Get a metadata value for the given group and key. | |
static | set ($group, $key, $value) |
Set a metadata value for the given group and metadata key. | |
static | getSubgroups ($groupId) |
Wrapper for getting subgroups. | |
static | setSubgroups ($groupId, $subgroupIds) |
Wrapper for setting subgroups. | |
static | deleteGroup ($groupId) |
Wrapper for deleting one wiki aggregate group at once. | |
Static Protected Attributes | |
static | $cache = null |
Definition at line 13 of file TranslateMetadata.php.
static TranslateMetadata::deleteGroup | ( | $ | groupId | ) | [static] |
Wrapper for deleting one wiki aggregate group at once.
string | $groupId |
Definition at line 104 of file TranslateMetadata.php.
Referenced by ApiAggregateGroups::execute().
static TranslateMetadata::get | ( | $ | group, | |
$ | key | |||
) | [static] |
Get a metadata value for the given group and key.
$group | string The group name | |
$key | string Metadata key |
Definition at line 22 of file TranslateMetadata.php.
Referenced by SpecialPageTranslation::checkInput(), SpecialPageTranslationDeletePage::clearMetadata(), SpecialTranslate::execute(), ApiAggregateGroups::execute(), SpecialMessageGroupStats::filterPriorityLangs(), ApiQueryMessageGroups::formatGroup(), MessageGroups::getAggregateGroups(), getSubgroups(), SpecialPageTranslation::handlePriorityLanguages(), TranslateHooks::hideRestrictedFromStats(), MessageGroups::isTranslatableMessage(), PageTranslationHooks::languages(), SpecialPageTranslationMovePage::moveMetadata(), SpecialMessageGroupStats::outputIntroduction(), PageTranslationHooks::preventRestrictedTranslations(), and SpecialPageTranslation::priorityLanguagesForm().
static TranslateMetadata::getSubgroups | ( | $ | groupId | ) | [static] |
Wrapper for getting subgroups.
string | $groupId |
Definition at line 69 of file TranslateMetadata.php.
Referenced by SpecialAggregateGroups::execute(), ApiAggregateGroups::execute(), MessageGroups::getAggregateGroups(), and SpecialAggregateGroups::listSubgroups().
static TranslateMetadata::set | ( | $ | group, | |
$ | key, | |||
$ | value | |||
) | [static] |
Set a metadata value for the given group and metadata key.
Updates the value if already existing.
$group | string The group id | |
$key | string Metadata key | |
$value | string Metadata value |
Definition at line 44 of file TranslateMetadata.php.
Referenced by SpecialPageTranslationDeletePage::clearMetadata(), ApiAggregateGroups::execute(), SpecialPageTranslation::handlePriorityLanguages(), SpecialPageTranslationMovePage::moveMetadata(), and setSubgroups().
static TranslateMetadata::setSubgroups | ( | $ | groupId, | |
$ | subgroupIds | |||
) | [static] |
Wrapper for setting subgroups.
string | $groupId | |
array | $subgroupIds |
Definition at line 94 of file TranslateMetadata.php.
Referenced by ApiAggregateGroups::execute().
TranslateMetadata::$cache = null [static, protected] |
Definition at line 14 of file TranslateMetadata.php.