Zend_Uri_Http::setHost
Sets the host for the current URI, and returns the old host
Signature
public function setHost(string
$host )
Parameters
$host
— string- The HTTP host
Returns
- string
Errors/Exceptions
-
Zend_Uri_Exception
- When $host is nota valid HTTP host