API module for switching workflow states for message groups. More...
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' |
API module for switching workflow states for message groups.
Definition at line 15 of file ApiGroupReview.php.
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().
ApiGroupReview::execute | ( | ) |
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 | ( | ) |
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().
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.
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.