API17:JURI::base
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::base
Description
Returns the base URI for the request.
Description:JURI::base [Edit Descripton]
Since
Synopsis
public static JURI::base ($pathonly=false)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $pathonly | boolean | false | If false, prepend the scheme, host and port information. Default is false. |
Returns
string The base URI string
Defined in
libraries/joomla/environment/uri.php
Referenced by
- JView::__construct
- JDocumentHTML::_fetchTemplate
- JButtonPopup::_getCommand
- JDocumentRendererRSS::_relToAbs
- JHtmlImage::administrator
- JApplication::redirect
- JDocumentError::render
- JHtmlImage::site
See also
Examples
<CodeExamplesForm />
