API17:JURI::root
From Joomla! Documentation
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
JURI::root
Description
Returns the root URI for the request.
Description:JURI::root [Edit Descripton]
Since
Synopsis
public static JURI::root ($pathonly=false, $path=null)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $pathonly | boolean | false | If false, prepend the scheme, host and port information. Default is false.. |
| $path | null |
Returns
string The root URI string.
Defined in
libraries/joomla/environment/uri.php
Referenced by
See also
Examples
<CodeExamplesForm />
