Gdn_SQLDriver::orOp PHP Метод

orOp() публичный Метод

Concat the next where expression with an 'or' operator.
См. также: Gdn_DatabaseDriver::AndOp()
public orOp ( boolean $SetDefault = false ) : Gdn_SQLDriver
$SetDefault boolean Whether or not the 'or' is one time, or will revert.
Результат Gdn_SQLDriver $this
    public function orOp($SetDefault = false)
    {
        $this->_WhereConcat = 'or';
        if ($SetDefault) {
            $this->_WhereConcatDefault = 'or';
            $this->_WhereGroupConcatDefault = 'or';
        }
        return $this;
    }