public function getTextCategoryLayoutInherit($categoryId) { $view = 'category'; $items = JUDirectoryFrontHelperCategory::getJoomlaTemplate($view); $text = JUDirectoryFrontHelperCategory::calculatorInheritCategoryLayout($items, $categoryId); return $text; }