yii\db\QueryTrait::orFilterWhere PHP Method

orFilterWhere() public method

The new condition and the existing one will be joined using the 'OR' operator. This method is similar to QueryTrait::orWhere. The main difference is that this method will remove [[isEmpty()|empty query operands]]. As a result, this method is best suited for building query conditions based on filter values entered by users.
See also: filterWhere()
See also: andFilterWhere()
public orFilterWhere ( array $condition )
$condition array the new WHERE condition. Please refer to [[where()]] on how to specify this parameter.
    public function orFilterWhere(array $condition)
    {
        $condition = $this->filterCondition($condition);
        if ($condition !== []) {
            $this->orWhere($condition);
        }
        return $this;
    }