function &getProject() { if (empty($this->_project)) { $match =& $this->getMatch(); $this->setProjectID($match->project_id); parent::getProject(); } return $this->_project; }