API17

API17:JURI::getHost

From Joomla! Documentation

Joomla 11.1 JURI::getHost

Description

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


public function getHost ()
  • Returns string The URI host.
  • Defined on line 570 of libraries/joomla/environment/uri.php
  • Since Joomla 11.1

See also


User contributed notes

Code Examples