ApiGroupReview Class Reference

API module for switching workflow states for message groups. More...

List of all members.

Public Member Functions

 execute ()
 isWriteMode ()
 needsToken ()
 getTokenSalt ()
 getAllowedParams ()
 getParamDescription ()
 getDescription ()
 getPossibleErrors ()
 getExamples ()
 getVersion ()

Static Public Member Functions

static getState (MessageGroup $group, $code)
static changeState (MessageGroup $group, $code, $newState, User $user)
static getToken ()
static injectTokenFunction (&$list)
static getRight ()

Static Protected Attributes

static $right = 'translate-groupreview'
static $salt = 'translate-groupreview'

Detailed Description

API module for switching workflow states for message groups.

Definition at line 15 of file ApiGroupReview.php.


Member Function Documentation

static ApiGroupReview::changeState ( MessageGroup group,
code,
newState,
User $  user 
) [static]

Definition at line 81 of file ApiGroupReview.php.

Referenced by execute(), MessageGroupStatesUpdaterJob::run(), and ApiGroupReviewTest::testGetSetState().

Here is the call graph for this function:

ApiGroupReview::execute (  ) 

Definition at line 19 of file ApiGroupReview.php.

Here is the call graph for this function:

ApiGroupReview::getAllowedParams (  ) 

Definition at line 131 of file ApiGroupReview.php.

ApiGroupReview::getDescription (  ) 

Definition at line 163 of file ApiGroupReview.php.

ApiGroupReview::getExamples (  ) 

Definition at line 181 of file ApiGroupReview.php.

ApiGroupReview::getParamDescription (  ) 

Definition at line 152 of file ApiGroupReview.php.

Here is the call graph for this function:

ApiGroupReview::getPossibleErrors (  ) 

Definition at line 167 of file ApiGroupReview.php.

static ApiGroupReview::getRight (  )  [static]

Definition at line 208 of file ApiGroupReview.php.

static ApiGroupReview::getState ( MessageGroup group,
code 
) [static]

Definition at line 68 of file ApiGroupReview.php.

Referenced by changeState(), ApiGroupReviewTest::testGetSetState(), and MessageGroupStatesUpdaterJobTest::testHooks().

Here is the call graph for this function:

static ApiGroupReview::getToken (  )  [static]

Definition at line 193 of file ApiGroupReview.php.

Referenced by SpecialTranslate::getWorkflowStatus().

ApiGroupReview::getTokenSalt (  ) 

Definition at line 127 of file ApiGroupReview.php.

ApiGroupReview::getVersion (  ) 

Definition at line 189 of file ApiGroupReview.php.

static ApiGroupReview::injectTokenFunction ( &$  list  )  [static]

Definition at line 202 of file ApiGroupReview.php.

ApiGroupReview::isWriteMode (  ) 

Definition at line 119 of file ApiGroupReview.php.

ApiGroupReview::needsToken (  ) 

Definition at line 123 of file ApiGroupReview.php.


Member Data Documentation

ApiGroupReview::$right = 'translate-groupreview' [static, protected]

Definition at line 16 of file ApiGroupReview.php.

Referenced by getPossibleErrors().

ApiGroupReview::$salt = 'translate-groupreview' [static, protected]

Definition at line 17 of file ApiGroupReview.php.


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