SpecialManageGroups Class Reference
[Special pages of Translate extension]

Class for special page Special:ManageMessageGroups. More...

List of all members.

Public Member Functions

 __construct ()
 execute ($par)

Static Public Member Functions

static tabify (Skin $skin, array &$tabs)
 Adds the task-based tabs on Special:Translate and few other special pages.

Public Attributes

const CHANGEFILE = 'translate_messagechanges.cdb'
const RIGHT = 'translate-manage'

Protected Member Functions

 getLimit ()
 How many changes can be shown per page.
 getLegend ()
 showChanges ($allowed, $limit)
 formatChange (MessageGroup $group, $code, $type, $params, &$limit)
 processSubmit ()

Static Protected Member Functions

static changeId ($groupId, $code, $type, $key)

Protected Attributes

 $diff

Detailed Description

Class for special page Special:ManageMessageGroups.

On this special page file based message groups can be managed (FileBasedMessageGroup). This page allows updating of the file cache, import and fuzzy for source language messages, as well as import/update of messages in other languages.

Rewritten in 2012-04-23

Definition at line 22 of file SpecialManageGroups.php.


Constructor & Destructor Documentation

SpecialManageGroups::__construct (  ) 

Definition at line 31 of file SpecialManageGroups.php.


Member Function Documentation

static SpecialManageGroups::changeId ( groupId,
code,
type,
key 
) [static, protected]

Definition at line 304 of file SpecialManageGroups.php.

Referenced by formatChange(), and processSubmit().

SpecialManageGroups::execute ( par  ) 

Definition at line 36 of file SpecialManageGroups.php.

Here is the call graph for this function:

SpecialManageGroups::formatChange ( MessageGroup group,
code,
type,
params,
&$  limit 
) [protected]
Parameters:
MessageGroup $group
string $code
string $type
array $params
Returns:
string HTML

Definition at line 179 of file SpecialManageGroups.php.

Referenced by showChanges().

Here is the call graph for this function:

SpecialManageGroups::getLegend (  )  [protected]

Definition at line 85 of file SpecialManageGroups.php.

Referenced by showChanges().

SpecialManageGroups::getLimit (  )  [protected]

How many changes can be shown per page.

Returns:
int

Definition at line 73 of file SpecialManageGroups.php.

Referenced by execute(), and processSubmit().

SpecialManageGroups::processSubmit (  )  [protected]

Definition at line 239 of file SpecialManageGroups.php.

Referenced by execute().

Here is the call graph for this function:

SpecialManageGroups::showChanges ( allowed,
limit 
) [protected]

Definition at line 95 of file SpecialManageGroups.php.

Referenced by execute(), and processSubmit().

Here is the call graph for this function:

static SpecialManageGroups::tabify ( Skin $  skin,
array &$  tabs 
) [static]

Adds the task-based tabs on Special:Translate and few other special pages.

Hook: SkinTemplateNavigation::SpecialPage

Since:
2012-05-14

Definition at line 313 of file SpecialManageGroups.php.


Member Data Documentation

SpecialManageGroups::$diff [protected]

Definition at line 29 of file SpecialManageGroups.php.

Referenced by showChanges().

const SpecialManageGroups::CHANGEFILE = 'translate_messagechanges.cdb'

Definition at line 23 of file SpecialManageGroups.php.

Referenced by ProcessMessageChanges::writeChanges().

const SpecialManageGroups::RIGHT = 'translate-manage'

Definition at line 24 of file SpecialManageGroups.php.


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