JURI::getPort: Difference between revisions
From Joomla! Documentation
m clean up |
m preparing for archive only |
||
| Line 4: | Line 4: | ||
Get URI port Returns the port number, or null if no port was specified. | Get URI port Returns the port number, or null if no port was specified. | ||
<source lang="php"> | <source lang="php"> | ||
| Line 16: | Line 16: | ||
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Environment|Environment]] | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Environment|Environment]] | ||
* [[API17:JURI::getPort|Other versions of JURI::getPort]] | * [[API17:JURI::getPort|Other versions of JURI::getPort]] | ||
===User contributed notes=== | ===User contributed notes=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JURI::getPort | category=JURI::getPort | ||
namespace=CodeExample | |||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
Latest revision as of 03:53, 25 March 2017
JURI::getPort
Description
Get URI port Returns the port number, or null if no port was specified.
public function getPort ()
- Returns int The URI port number.
- Defined on line 592 of libraries/joomla/environment/uri.php
See also
JURI::getPort source code on BitBucket
Class JURI
Subpackage Environment- Other versions of JURI::getPort
User contributed notes
Code Examples