components/CategoriesList.php
/**
     * Check active this category in url
     * @param CakesCategory $model
     * @return bool
     */
Check active this category in url
@param CakesCategory $model
@return bool
Check active this category in url @param CakesCategory $model @return bool
public function isActiveModel(CakesCategory $model)
    {
        if($this->isMainPage())
            return false;
        return $_GET['alias'] == $model->alias;
    }
public function isActiveModel ( CakesCategory $ model ) { if ( $ this -> isMainPage ( ) ) return false ; return $ _GET [ 'alias' ] == $ model -> alias ; }
Check active this category in url
 @param CakesCategory $model
 @return bool
Check active this category in url @param CakesCategory $model @return bool