/** * Returns the category name for a given category id or safe name. * * @param int $cat_id * @param string $cat_safe_name * @return string */ public function getCatName($cat_id = 0, $cat_safe_name = '') { require_once LIBS . 'Category.php'; $category = new Category(); return $category->getCatName($this, $cat_id, $cat_safe_name); }