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