TranslateMetadata Class Reference

List of all members.

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

Detailed Description

Definition at line 13 of file TranslateMetadata.php.


Member Function Documentation

static TranslateMetadata::deleteGroup ( groupId  )  [static]

Wrapper for deleting one wiki aggregate group at once.

Parameters:
string $groupId
Since:
2012-05-09

Definition at line 104 of file TranslateMetadata.php.

Referenced by ApiAggregateGroups::execute().

static TranslateMetadata::get ( group,
key 
) [static]
static TranslateMetadata::getSubgroups ( groupId  )  [static]

Wrapper for getting subgroups.

Parameters:
string $groupId
Returns:
array|String
Since:
2012-05-09 return array|false

Definition at line 69 of file TranslateMetadata.php.

Referenced by SpecialAggregateGroups::execute(), ApiAggregateGroups::execute(), MessageGroups::getAggregateGroups(), and SpecialAggregateGroups::listSubgroups().

Here is the call graph for this function:

static TranslateMetadata::set ( group,
key,
value 
) [static]

Set a metadata value for the given group and metadata key.

Updates the value if already existing.

Parameters:
$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.

Parameters:
string $groupId
array $subgroupIds
Since:
2012-05-09

Definition at line 94 of file TranslateMetadata.php.

Referenced by ApiAggregateGroups::execute().

Here is the call graph for this function:


Member Data Documentation

TranslateMetadata::$cache = null [static, protected]

Definition at line 14 of file TranslateMetadata.php.


The documentation for this class was generated from the following file:
Generated on Tue Oct 29 00:00:55 2013 for MediaWiki Translate Extension by  doxygen 1.6.3