JTemplate/1.5

From Joomla! Documentation
< JTemplate(Difference between revisions)
Jump to: navigation, search
(Layout updates)
m (See also: fixing link to API)
 
Line 54: Line 54:
 
<source lang="php">jimport( 'joomla.template.template' );</source>
 
<source lang="php">jimport( 'joomla.template.template' );</source>
 
===See also===
 
===See also===
* {{JVer|1.5}} '''JTemplate''' on [http://api.joomla.org/Joomla-Framework/Template/JTemplate.html api.joomla.org]
+
* {{JVer|1.5}} '''JTemplate''' on [http://api.joomla.org/1.5/Joomla-Framework/Template/JTemplate.html api.joomla.org]
 
* {{JVer|1.5}} '''JTemplate source code''' on [[jframework15:template/template.php|JoomlaCode]]
 
* {{JVer|1.5}} '''JTemplate source code''' on [[jframework15:template/template.php|JoomlaCode]]
 
* {{JVer|1.5}} Subpackage [[Subpackage Template/1.5|Template]]
 
* {{JVer|1.5}} Subpackage [[Subpackage Template/1.5|Template]]

Latest revision as of 16:06, 13 February 2013

[edit] Joomla 1.5 JTemplate

[edit] Description

Description:JTemplate [Edit Descripton]

[edit] 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

[edit] Importing

jimport( 'joomla.template.template' );

[edit] See also

SeeAlso:JTemplate [Edit See Also]

[edit] User contributed notes

<CodeExamplesForm />


Personal tools
Namespaces

Variants
Actions
Navigation
Joomla! Sites
Toolbox