public function setOptions(array $options)
    {
        foreach ($options as $k => $v) {
            $this->setOption($k, $v);
        }
    }
public function setOptions(array $options)
    {
        foreach ($options as $k => $v) {
            $this->setOption($k, $v);
        }
    }
public function setOptions ( array $ options ) { foreach ( $ options as $ k => $ v ) { $ this -> setOption ( $ k , $ v ) ; } }
Sets several options at once.

@param array $options
Sets several options at once .