/** * Gets the total items related with the current category * * @return int */ function osc_category_total_items() { return osc_category_field("i_num_items", ""); //$category = osc_category(); //return CategoryStats::newInstance()->getNumItems($category); }
function osc_category_slug($locale = "") { if ($locale == "") { $locale = osc_current_user_locale(); } return osc_category_field("s_slug", $locale); }