API16

JURI/setPort

From Joomla! Documentation

< API16:JURI
Revision as of 21:14, 24 March 2017 by JoomlaWikiBot (talk | contribs) (preparing for archive only)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The "API16" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

Description[edit]

Set URI port.



Syntax[edit]

setPort($port)
Parameter Name Default Value Description
$port $port The URI port number.

Defined in[edit]

libraries/joomla/environment/uri.php

Importing[edit]

jimport( 'joomla.environment.uri' );

Source Body[edit]

public function setPort($port)
{
        $this->_port = $port;
}



Examples[edit]

Code Examples[edit]