API15

JApplication/getTemplate: Difference between revisions

From Joomla! Documentation

Doxiki (talk | contribs)
No edit summary
m preparing for archive only
 
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:
Gets the name of the current template.
Gets the name of the current template.


<span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>[[Description:JApplication/getTemplate|Edit Descripton]]<nowiki>]</nowiki>
</span>


{{Description:JApplication/getTemplate}}
 
<! removed transcluded page call, red link never existed >


===Syntax===
===Syntax===
Line 28: Line 26:
</source>
</source>


<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JApplication/getTemplate|Edit See Also]]<nowiki>]</nowiki>
<! removed transcluded page call, red link never existed >
</span>
{{SeeAlso:JApplication/getTemplate}}


===Examples===
===Examples===
<CodeExamplesForm />
=== Code Examples ===
<dpl>
<dpl>
  noresultsheader=\n
  noresultsheader=\n
  category=getTemplate
  category=getTemplate
  category=JApplication
  category=JApplication
  category=CodeExample
  namespace=CodeExample
  category=MethodExample
  category=MethodExample
  include=*
  include=*
  format= ,,,
  format= ,,,
</dpl>
</dpl>
[[Category:Archived pages API15]]

Latest revision as of 00:16, 25 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

Code Examples