API15

API15:JDocument/getBase

From Joomla! Documentation

Revision as of 00:30, 25 March 2017 by JoomlaWikiBot (talk | contribs) (preparing for archive only)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.

[<! removed edit link to red link >]

<! removed transcluded page call, red link never existed >

Syntax

getBase()


Returns

string public

Defined in

libraries/joomla/document/document.php

Importing

jimport( 'joomla.document.document' );

Source Body

function getBase() {
        return $this->base;
}

[<! removed edit link to red link >] <! removed transcluded page call, red link never existed >

Examples

Code Examples