JTemplate/1.5
From Joomla! Documentation
JTemplate
Description
Description:JTemplate [Edit Descripton]
Methods
| Visibility | Method name | Description |
|---|---|---|
| public | __construct | Class constructor. |
| public | _loadTemplatesFromCache | load from template cache |
| public | display | Execute and display a the template. |
| public | enableTemplateCache | enable a template cache |
| public | fetch | Returns a parsed template. |
| public | getInstance | Returns a reference to a global Template object, only creating it if it doesn't already exist. |
| public | 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(). |
| public | parse | Parse a file. |
| public | setTemplateCachePrefix | Set the prefix of the template cache. |
- Defined in libraries/joomla/template/template.php
Importing
jimport( 'joomla.template.template' );
See also
-
JTemplate on api.joomla.org
-
JTemplate source code on JoomlaCode
-
Subpackage Template
- Other versions of JTemplate
SeeAlso:JTemplate [Edit See Also]
User contributed notes
<CodeExamplesForm />