Query.php
public function addOptions($options)
    {
        if (!is_array($options)) {
            throw new InvalidParamException('Array parameter expected, ' . gettype($options) . ' received.');
        }

        $this->options = array_merge($this->options, $options);
        return $this;
    }
public function addOptions($options)
    {
        if (!is_array($options)) {
            throw new InvalidParamException('Array parameter expected, ' . gettype($options) . ' received.');
        }

        $this->options = array_merge($this->options, $options);
        return $this;
    }
public function addOptions ( $ options ) { if ( ! is_array ( $ options ) ) { throw new InvalidParamException ( 'Array parameter expected, ' . gettype ( $ options ) . ' received.' ) ; } $ this -> options = array_merge ( $ this -> options , $ options ) ; return $ this ; }
Adds more options, overwriting existing options.
@param array $options the options to be added.
@return $this the query object itself
@throws InvalidParamException if $options is not an array
@see options()
@since 2.0.4
Adds more options overwriting existing options .