protected function isActive($action)
    {
        $id = $this->getActionId($action);
        return !in_array($id, $this->except, true) && (empty($this->only) || in_array($id, $this->only, true));
    }
protected function isActive($action)
    {
        $id = $this->getActionId($action);
        return !in_array($id, $this->except, true) && (empty($this->only) || in_array($id, $this->only, true));
    }
protected function isActive ( $ action ) { $ id = $ this -> getActionId ( $ action ) ; return ! in_array ( $ id , $ this -> except , true ) && ( empty ( $ this -> only ) || in_array ( $ id , $ this -> only , true ) ) ; }
Returns a value indicating whether the filter is active for the given action.
@param Action $action the action being filtered
@return boolean whether the filter is active for the given action.
Returns a value indicating whether the filter is active for the given action .