public function EasyRdf_Http_Client::setParameterGet in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/easyrdf/easyrdf/lib/EasyRdf/Http/Client.php \EasyRdf_Http_Client::setParameterGet()
Set a GET parameter for the request.
Parameters
string $name:
string $value:
Return value
File
- vendor/
easyrdf/ easyrdf/ lib/ EasyRdf/ Http/ Client.php, line 254
Class
- EasyRdf_Http_Client
- This class is an implemetation of an HTTP client in PHP. It supports basic HTTP 1.0 and 1.1 requests. For a more complete implementation try Zend_Http_Client.
Code
public function setParameterGet($name, $value = null) {
if ($value === null) {
if (isset($this->paramsGet[$name])) {
unset($this->paramsGet[$name]);
}
}
else {
$this->paramsGet[$name] = $value;
}
return $this;
}