API15

API15:JApplication/getTemplate

From Joomla! Documentation

Revision as of 21:51, 22 March 2010 by Doxiki (talk | contribs) (New page: ===Description=== Gets the name of the current template. <span class="editsection" style="font-size:76%;"> <nowiki>[</nowiki>Edit Descripton<n...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Description

Gets the name of the current template.

[Edit Descripton]

Template:Description:JApplication/getTemplate

Syntax

getTemplate()


Returns

string

Defined in

libraries/joomla/application/application.php

Importing

jimport( 'joomla.application.application' );

Source Body

public function getTemplate()
{
        return 'system';
}

[Edit See Also] Template:SeeAlso:JApplication/getTemplate

Examples

<CodeExamplesForm />