public function getJobType($con = null) { include_once 'lib/model/om/BaseJobTypePeer.php'; if ($this->aJobType === null && $this->job_type_id !== null) { $this->aJobType = JobTypePeer::retrieveByPK($this->job_type_id, $con); } return $this->aJobType; }