API15:JDocument/getBase
From Joomla! Documentation
Description
Return the base URI of the document.
Note: To return the path of the Joomla installation (no domain name), use $this->baseurl within your template files.
Template:Description:JDocument/getBase
Syntax
getBase()
Returns
string public
Defined in
libraries/joomla/document/document.php
Importing
jimport( 'joomla.document.document' );
Source Body
function getBase() {
return $this->base;
}
[Edit See Also] Template:SeeAlso:JDocument/getBase
Examples
<CodeExamplesForm />