From Joomla! Documentation

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.

Defined in



Method name Description
JTemplate A hack to support __construct() on PHP 4 Hint: descendant classes have no PHP4 class_name() constructors, so this constructor gets called first and calls the top-layer __construct() which (if present) should call parent::__construct()
__construct Class constructor
getInstance Returns a reference to a global Template object, only creating it if it doesn't already exist.
parse Parse a file
display Execute and display a the template
fetch Returns a parsed template
enableTemplateCache enable a template cache
setTemplateCachePrefix Set the prefix of the template cache


jimport( 'joomla.template.template' );


Code Examples