You are here

public function TMGMTMessage::getJobItem in Translation Management Tool 7

Loads the job entity that this job message is attached to.

Return value

TMGMTJobItem The job item entity that this job message is attached to or FALSE if there was a problem.

File

entity/tmgmt.entity.message.inc, line 136

Class

TMGMTMessage
Entity class for the tmgmt_message entity.

Code

public function getJobItem() {
  if (!empty($this->tjiid)) {
    return tmgmt_job_item_load($this->tjiid);
  }
  return FALSE;
}