JTemplate::getInstance/1.5

From Joomla! Documentation
Jump to: navigation, search

Joomla 1.5 JTemplate::getInstance

Description

Returns a reference to a global Template object, only creating it if it doesn't already exist.

Description:JTemplate::getInstance [Edit Descripton]

public & function getInstance ($type= 'html')
Parameter Type Default Description
$type string 'html' (either html or tex)
  • Returns jtemplate A template object
  • Defined on line 85 of libraries/joomla/template/template.php
  • Since Joomla 1.5

See also

SeeAlso:JTemplate::getInstance [Edit See Also]

User contributed notes

<CodeExamplesForm />


Personal tools
Namespaces

Variants
Actions
Navigation
Joomla! Sites
Toolbox