public function addParam($name, $value)
    {
        if (!empty($name) && !empty($value)) {
            $this->params[stripslashes(trim($name))] = stripslashes(trim($value));
        }
    }
public function addParam($name, $value)
    {
        if (!empty($name) && !empty($value)) {
            $this->params[stripslashes(trim($name))] = stripslashes(trim($value));
        }
    }
public function addParam ( $ name , $ value ) { if ( ! empty ( $ name ) && ! empty ( $ value ) ) { $ this -> params [ stripslashes ( trim ( $ name ) ) ] = stripslashes ( trim ( $ value ) ) ; } }
Add a query parameter to the cURL request.

@param string $name
@param string $value
Add a query parameter to the cURL request .