MessageGroupStatesUpdaterJob Class Reference

Logic for handling automatic message group state changes. More...

List of all members.

Public Member Functions

 __construct ($title, $params=array(), $id=0)
 run ()

Static Public Member Functions

static onChange (MessageHandle $handle)
 Hook: TranslateEventTranslationEdit Hook: TranslateEventTranslationReview.
static newJob ($title)
static getGroupsWithTransitions (MessageHandle $handle)
static getStatValue ($stats, $type)
static matchCondition ($value, $condition, $max)
static getNewState ($stats, $transitions)

Detailed Description

Logic for handling automatic message group state changes.

Definition at line 16 of file MessageGroupStatesUpdaterJob.php.


Constructor & Destructor Documentation

MessageGroupStatesUpdaterJob::__construct ( title,
params = array(),
id = 0 
)

Definition at line 39 of file MessageGroupStatesUpdaterJob.php.


Member Function Documentation

static MessageGroupStatesUpdaterJob::getGroupsWithTransitions ( MessageHandle handle  )  [static]

Definition at line 65 of file MessageGroupStatesUpdaterJob.php.

Referenced by run(), and MessageGroupStatesUpdaterJobTest::testGetGroupsWithTransitions().

Here is the call graph for this function:

static MessageGroupStatesUpdaterJob::getNewState ( stats,
transitions 
) [static]

Definition at line 117 of file MessageGroupStatesUpdaterJob.php.

Referenced by run(), and MessageGroupStatesUpdaterJobTest::testGetNewState().

Here is the call graph for this function:

static MessageGroupStatesUpdaterJob::getStatValue ( stats,
type 
) [static]
static MessageGroupStatesUpdaterJob::matchCondition ( value,
condition,
max 
) [static]
static MessageGroupStatesUpdaterJob::newJob ( title  )  [static]
Parameters:
$title 
Returns:
MessageGroupStatesUpdaterJob

Definition at line 33 of file MessageGroupStatesUpdaterJob.php.

Referenced by onChange().

static MessageGroupStatesUpdaterJob::onChange ( MessageHandle handle  )  [static]

Hook: TranslateEventTranslationEdit Hook: TranslateEventTranslationReview.

Definition at line 22 of file MessageGroupStatesUpdaterJob.php.

Here is the call graph for this function:

MessageGroupStatesUpdaterJob::run (  ) 

Definition at line 43 of file MessageGroupStatesUpdaterJob.php.

Here is the call graph for this function:


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