framework/db/ActiveQuery.php
public function orOnCondition($condition, $params = [])
    {
        if ($this->on === null) {
            $this->on = $condition;
        } else {
            $this->on = ['or', $this->on, $condition];
        }
        $this->addParams($params);
        return $this;
    }
public function orOnCondition($condition, $params = [])
    {
        if ($this->on === null) {
            $this->on = $condition;
        } else {
            $this->on = ['or', $this->on, $condition];
        }
        $this->addParams($params);
        return $this;
    }
public function orOnCondition ( $ condition , $ params = [ ] ) { if ( $ this -> on === null ) { $ this -> on = $ condition ; } else { $ this -> on = [ 'or' , $ this -> on , $ condition ] ; } $ this -> addParams ( $ params ) ; return $ this ; }
Adds an additional ON condition to the existing one.
The new condition and the existing one will be joined using the 'OR' operator.
@param string|array $condition the new ON condition. Please refer to [[where()]]
on how to specify this parameter.
@param array $params the parameters (name => value) to be bound to the query.
@return $this the query object itself
@see onCondition()
@see andOnCondition()
Adds an additional ON condition to the existing one . The new condition and the existing one will be joined using the OR operator .