/** * @return string The category name */ public function getCategoryName() { if (NULL == $this->categoryName) { $this->categoryName = Project::getCategoryName($this->categoryId); } return $this->categoryName; }