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