JTemplate/1.5
From Joomla! Documentation
[Edit Descripton] Description:JTemplate
Defined in
libraries/joomla/template/template.php
Subpackage
Extends
Extended by
Methods
| Method name | Description |
|---|---|
| __construct | Class constructor. |
| _loadTemplatesFromCache | load from template cache |
| display | Execute and display a the template. |
| enableTemplateCache | enable a template cache |
| fetch | Returns a parsed template. |
| getInstance | Returns a reference to a global Template object, only creating it if it doesn't already exist. |
| JTemplate | A hack to support on PHP 4 Hint: descendant classes have no PHP4 class_name() constructors, so this constructor gets called first and calls the top-layer which (if present) should call parent::__construct(). |
| parse | Parse a file. |
| setTemplateCachePrefix | Set the prefix of the template cache. |
Importing
jimport( 'joomla.template.template' );
See also
[Edit See Also] SeeAlso:JTemplate
Examples
<CodeExamplesForm />