API15

JDocument/getBase

From Joomla! Documentation

< API15:JDocument
Revision as of 14:24, 8 July 2010 by Nibinaear (talk | contribs)

The "API15" 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.

Description[edit]

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.

[Edit Descripton]

Template:Description:JDocument/getBase

Syntax[edit]

getBase()


Returns[edit]

string public

Defined in[edit]

libraries/joomla/document/document.php

Importing[edit]

jimport( 'joomla.document.document' );

Source Body[edit]

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

[Edit See Also] Template:SeeAlso:JDocument/getBase

Examples[edit]

<CodeExamplesForm />