TranslateTasks Class Reference

Collection of functions to get tasks. More...

List of all members.

Static Public Member Functions

static getTasks ($pageTranslation=false)
 Return list of available tasks.
static getTask ($id)
 Get task by id.

Detailed Description

Collection of functions to get tasks.

Definition at line 391 of file TranslateTasks.php.


Member Function Documentation

static TranslateTasks::getTask ( id  )  [static]

Get task by id.

Parameters:
string $id Unique task identifier.
Returns:
TranslateTask|null Null if no such task.

Definition at line 421 of file TranslateTasks.php.

Referenced by SpecialTranslate::setup(), and SpecialTranslate::taskLinks().

static TranslateTasks::getTasks ( pageTranslation = false  )  [static]

Return list of available tasks.

Parameters:
bool $pageTranslation Whether this group is page translation group.
Todo:
Make the above parameter a group and check its class?
Returns:
string[] Task identifiers.

Definition at line 398 of file TranslateTasks.php.


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