JApplication/getTemplate: Difference between revisions
From Joomla! Documentation
m removing red link to edit, no existant pages |
m clean up |
||
| Line 2: | Line 2: | ||
Gets the name of the current template. | Gets the name of the current template. | ||
<! removed transcluded page call, red link never existed > | <! removed transcluded page call, red link never existed > | ||
| Line 28: | Line 26: | ||
</source> | </source> | ||
<! removed transcluded page call, red link never existed > | <! removed transcluded page call, red link never existed > | ||
Revision as of 13:31, 24 March 2017
Description
Gets the name of the current template.
<! removed transcluded page call, red link never existed >
Syntax
getTemplate()
Returns
string
Defined in
libraries/joomla/application/application.php
Importing
jimport( 'joomla.application.application' );
Source Body
function getTemplate()
{
return 'system';
}
<! removed transcluded page call, red link never existed >
Examples
<CodeExamplesForm />