====== getPort ====== {#JAPI Joomla.Framework Environment JURI::getPort #} Gets URI port number, or null if no port was specified. ===== Syntax ===== int getPort () ===== Examples ===== $uri = new JURI( 'http://forum.joomla.org:1572/index.php/topic,41464.msg227819.html#msg227819' ); echo "Port: " . $uri->getPort(); might produce: Port: 1572