JURI/getHost
From Joomla! Documentation
< API16:JURI
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]
Get URI host returns the hostname/ip, or null if no hostname/ip was specified.
Syntax[edit]
getHost()
Returns[edit]
string The URI host.
Defined in[edit]
libraries/joomla/environment/uri.php
Importing[edit]
jimport( 'joomla.environment.uri' );
Source Body[edit]
public function getHost()
{
return $this->_host;
}
Examples[edit]
Code Examples[edit]