public function getTextListingLayoutInherit($categoryId) { $view = 'listing'; $items = JUDirectoryFrontHelperCategory::getJoomlaTemplate($view); $text = JUDirectoryFrontHelperCategory::calculatorInheritListingLayout($items, $categoryId); return $text; }