src/Titon/Db/Query/Predicate.php
public function either(Closure $callback) {
        $predicate = new Predicate(self::EITHER);
        $predicate->bindCallback($callback);

        $this->_params[] = $predicate;

        $this->addBinding(null, $predicate);

        return $this;
    }
public function either(Closure $callback) {
        $predicate = new Predicate(self::EITHER);
        $predicate->bindCallback($callback);

        $this->_params[] = $predicate;

        $this->addBinding(null, $predicate);

        return $this;
    }
public function either ( Closure $ callback ) { $ predicate = new Predicate ( self :: EITHER ) ; $ predicate -> bindCallback ( $ callback ) ; $ this -> _params [ ] = $ predicate ; $ this -> addBinding ( null , $ predicate ) ; return $ this ; }
Generate a new sub-grouped OR predicate.

@param \Closure $callback
@return $this
Generate a new sub - grouped OR predicate .