public function getCategory() { if ($this->_category === null) { $Categories = new Default_Model_Categories(); $Categories->filter->id->equals($this->getCategoryID()); if ($Categories->count() > 0) { $this->_category = $Categories->items[0]; } } return $this->_category; }