public function getCategoryAlias(NewsCategoryModel $category, PageModel $page)
    {
        if ($category instanceof Multilingual) {
            return $category->getAlias($page->language);
        }

        return $category->alias;
    }
public function getCategoryAlias(NewsCategoryModel $category, PageModel $page)
    {
        if ($category instanceof Multilingual) {
            return $category->getAlias($page->language);
        }

        return $category->alias;
    }
public function getCategoryAlias ( NewsCategoryModel $ category , PageModel $ page ) { if ( $ category instanceof Multilingual ) { return $ category -> getAlias ( $ page -> language ) ; } return $ category -> alias ; }
Get the category alias

@param NewsCategoryModel $category
@param PageModel         $page

@return string
Get the category alias