public function GetCategory() { if (!$this->Category) { $this->Category = DataAccess::GetCategoryByID($this->CategoryID); } return $this->Category; }