You are here

public function TMGMTJobItem::getState in Translation Management Tool 7

Returns the state of the job item. Can be one of the job item state constants.

Return value

integer The state of the job item.

1 call to TMGMTJobItem::getState()
TMGMTJobItem::isState in entity/tmgmt.entity.job_item.inc
Checks whether the passed value matches the current state.

File

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

Class

TMGMTJobItem
Entity class for the tmgmt_job entity.

Code

public function getState() {

  // We don't need to check if the state is actually set because we always set
  // it in the constructor.
  return $this->state;
}