public function addCurlOptions($curlOptions = array()) {
        if (is_array($curlOptions)) {
            foreach($curlOptions as $name => $val){
                $this->addCurlOption($name, $val);
            }
        }
    }
public function addCurlOptions($curlOptions = array()) {
        if (is_array($curlOptions)) {
            foreach($curlOptions as $name => $val){
                $this->addCurlOption($name, $val);
            }
        }
    }
public function addCurlOptions ( $ curlOptions = array ( ) ) { if ( is_array ( $ curlOptions ) ) { foreach ( $ curlOptions as $ name => $ val ) { $ this -> addCurlOption ( $ name , $ val ) ; } } }
Set curl options

@param array $curlOptions If array is null, this function will
reset the options to default value.
Set curl options