API16

JURI/getHost

< 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

Get URI host returns the hostname/ip, or null if no hostname/ip was specified.



Syntax

getHost()


Returns

string The URI host.

Defined in

libraries/joomla/environment/uri.php

Importing

jimport( 'joomla.environment.uri' );

Source Body

public function getHost()
{
        return $this->_host;
}



Examples

Code Examples


Advertisement