public function setParameters(array $parameters, $append = false)
    {
        if (!$append) {
            $this->parameters = $parameters;
        } else {
            foreach ($parameters as $field => $value) {
                $this->setParameter($field, $value);
            }
        }
    }
public function setParameters(array $parameters, $append = false)
    {
        if (!$append) {
            $this->parameters = $parameters;
        } else {
            foreach ($parameters as $field => $value) {
                $this->setParameter($field, $value);
            }
        }
    }
public function setParameters ( array $ parameters , $ append = false ) { if ( ! $ append ) { $ this -> parameters = $ parameters ; } else { foreach ( $ parameters as $ field => $ value ) { $ this -> setParameter ( $ field , $ value ) ; } } }
Set many GET or POST parameters

@param array $parameters Array of parameters (Format: array('key' => 'value',...))
@param bool  $append     Append the paramters

@return void
Set many GET or POST parameters