Example #1
0
 /**
  * @return Project_Model_Tasktype
  */
 public function getTask_type()
 {
     if (is_null($this->task_type) && !is_null($this->task_type_id)) {
         $p = new Project_Domain_Tasktype();
         $this->task_type = $p->getById($this->task_type_id);
     }
     return $this->task_type;
 }