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