public function TMGMTJob::getState in Translation Management Tool 7
Returns the state of the job. Can be one of the job state constants.
Return value
integer The state of the job or NULL if it hasn't been set yet.
1 call to TMGMTJob::getState()
- TMGMTJob::isState in entity/
tmgmt.entity.job.inc - Checks whether the passed value matches the current state.
File
- entity/
tmgmt.entity.job.inc, line 384
Class
- TMGMTJob
- 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;
}