JURI::root
From Joomla! Documentation
The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
JURI::root[edit]
Description[edit]
Returns the root URI for the request.
Template:Description:JURI::root [Edit Descripton]
Since[edit]
Synopsis[edit]
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[edit]
string The root URI string.
Defined in[edit]
libraries/joomla/environment/uri.php (line 234)
- see source code in BitBucket
Referenced by[edit]
See also[edit]
Examples[edit]
<CodeExamplesForm />