public function addOptions($options)
    {
        if (is_array($this->options)) {
            $this->options = array_merge($this->options, $options);
        } else {
            $this->options = $options;
        }

        return $this;
    }
public function addOptions($options)
    {
        if (is_array($this->options)) {
            $this->options = array_merge($this->options, $options);
        } else {
            $this->options = $options;
        }

        return $this;
    }
public function addOptions ( $ options ) { if ( is_array ( $ this -> options ) ) { $ this -> options = array_merge ( $ this -> options , $ options ) ; } else { $ this -> options = $ options ; } return $ this ; }
Adds additional cursor options.
@param array $options cursor options in format: optionName => optionValue
@return $this the query object itself
@see options()
Adds additional cursor options .