/** * Returns child ids * * @param int $cat_parent_id * @return int */ public function getCatChildren($cat_parent_id) { require_once LIBS . 'Category.php'; $category = new Category(); return $category->getCatChildren($this, $cat_parent_id); }