public function getDisplayType() { if ($this->displayType == null) { $this->load->model('entities/easol/Easol_ReportDisplay'); $displayType = new Easol_ReportDisplay(); $this->displayType = $displayType->hydrate($displayType->findOne($this->ReportDisplayId)); } return $this->displayType; }