====== getHost ====== {#JAPI Joomla.Framework Environment JURI::getHost #} Gets the URI host. This function returns the hostname/ip, or null if no hostname/ip was specified. ===== Syntax ===== string getHost () ===== Examples ===== $uri = new JURI( 'http://forum.joomla.org/index.php/topic,41464.msg227819.html#msg227819' ); echo "Host: " . $uri->getHost(); might produce: Host: forum.joomla.org