public function addConditions(\yii\db\ActiveQuery $query)
    {
        if ($query instanceof ActiveQuery) {
            $this->addQuickSearchConditions($query);
        }
        $this->validate();
        $this->addAttributesSearchConditions($query);
        return $query;
    }
public function addConditions(\yii\db\ActiveQuery $query)
    {
        if ($query instanceof ActiveQuery) {
            $this->addQuickSearchConditions($query);
        }
        $this->validate();
        $this->addAttributesSearchConditions($query);
        return $query;
    }
public function addConditions ( \ yii \ db \ ActiveQuery $ query ) { if ( $ query instanceof ActiveQuery ) { $ this -> addQuickSearchConditions ( $ query ) ; } $ this -> validate ( ) ; $ this -> addAttributesSearchConditions ( $ query ) ; return $ query ; }
Build filters based on this model attributes and other query options.
Warning! Main table in the query should have the 't' alias set.
@param \yii\db\ActiveQuery $query
@return \yii\db\ActiveQuery
Build filters based on this model attributes and other query options . Warning! Main table in the query should have the t alias set .