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