API16:JURI/getPort
From Joomla! Documentation
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
Contents |
Description
Get URI port returns the port number, or null if no port was specified.
Syntax
getPort()
Returns
int The URI port number.
Defined in
libraries/joomla/environment/uri.php
Importing
jimport( 'joomla.environment.uri' );
Source Body
public function getPort() { return (isset ($this->_port)) ? $this->_port : null; }
[Edit See Also] SeeAlso:JURI/getPort
Examples
<CodeExamplesForm />
