addCondition($query, 'id', true); $this->addCondition($query, 'statusId', true); return $query; } public function scenarios() { return [ 'default' => ['statusId', 'query'] ]; } }