store\components\behaviors\DCategoryBehavior::getLinkActive PHP Метод

getLinkActive() публичный Метод

Optional redeclare this method in your model for use (@link getMenuList()) or define in (@link requestPathAttribute) your $_GET attribute for url matching
public getLinkActive ( ) : boolean
Результат boolean true if current request url matches with category alias
    public function getLinkActive()
    {
        return mb_strpos(Yii::app()->request->getParam($this->requestPathAttribute), $this->getOwner()->{$this->aliasAttribute}, null, 'UTF-8') === 0;
    }