You are here

public function TMGMTJobItem::isAccepted in Translation Management Tool 7

Checks whether the state of this transaction is 'accepted'.

Return value

boolean TRUE if the state is 'accepted', FALSE otherwise.

1 call to TMGMTJobItem::isAccepted()
TMGMTJobItem::recalculateStatistics in entity/tmgmt.entity.job_item.inc
Recalculate statistical word-data: pending, translated, reviewed, accepted.

File

entity/tmgmt.entity.job_item.inc, line 509

Class

TMGMTJobItem
Entity class for the tmgmt_job entity.

Code

public function isAccepted() {
  return $this
    ->isState(TMGMT_JOB_ITEM_STATE_ACCEPTED);
}