public function TMGMTJob::__construct in Translation Management Tool 7
Overrides Entity::__construct
File
- entity/
tmgmt.entity.job.inc, line 94
Class
- TMGMTJob
- Entity class for the tmgmt_job entity.
Code
public function __construct(array $values = array()) {
parent::__construct($values, 'tmgmt_job');
if (empty($this->tjid)) {
$this->created = REQUEST_TIME;
}
if (!isset($this->state)) {
$this->state = TMGMT_JOB_STATE_UNPROCESSED;
}
}