JURI::root/1.5
From Joomla! Documentation
JURI::root
Description
Returns the root URI for the request.
Description:JURI::root [Edit Descripton]
public function 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 on line 270 of libraries/joomla/environment/uri.php
- Since
- Referenced by
See also
-
JURI::root on api.joomla.org
-
JURI source code on JoomlaCode
-
Class JURI
-
Subpackage Environment
- Other versions of JURI::root
SeeAlso:JURI::root [Edit See Also]
User contributed notes
<CodeExamplesForm />