You are here

public function TMGMTJobItem::__construct in Translation Management Tool 7

Overrides Entity::__construct

File

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

Class

TMGMTJobItem
Entity class for the tmgmt_job entity.

Code

public function __construct(array $values = array()) {
  parent::__construct($values, 'tmgmt_job_item');
  if (!isset($this->state)) {
    $this->state = TMGMT_JOB_ITEM_STATE_ACTIVE;
  }
}