function getCategoryName() { if (!isset($this->_category)) { $this->_category = new sfCategory($this->getVar('categoryid')); } return $this->_category->name(); }