====== getInstance ====== {#JAPI Joomla.Framework Environment JURI::getInstance #} Returns a reference to a global JURI object, only creating it if it doesn't already exist. This method must be invoked as: $uri =& JURI::getInstance(); ===== Syntax ===== JURI &getInstance ( **$uri** ) | **$uri** | string | is a string containing the URI to parse. This parameter is optional and if omitted uses the URI of the script. | ===== Examples ===== $uri =& JURI::getInstance();