JTemplate
Template class, provides an easy interface to parse and display a template file
Located in /joomla/template/template.php (line 30)
patTemplate (Package patTemplate) JTemplate (Subpackage Template)
Class constructor
The type influences the tags you are using in your templates.
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()
Execute and display a the template
- string $name: The name of the template
enable a template cache
A template cache will improve performace, as the templates do not have to be read on each request.
- string $handler: name of the template cache
- string $folder: folder to store the cached files
Returns a parsed template
- string $name: The name of the template
Returns a reference to a global Template object, only creating it if it doesn't already exist.
- string $type: (either html or tex)
Set the prefix of the template cache
- string $prefix: the prefix of the template cache
Inherited Methods
Inherited From patTemplate
patTemplate::patTemplate()
patTemplate::addGlobalVar()
patTemplate::addGlobalVars()
patTemplate::addModuleDir()
patTemplate::addObject()
patTemplate::addRows()
patTemplate::addVar()
patTemplate::addVars()
patTemplate::applyInputFilter()
patTemplate::applyInputFilters()
patTemplate::applyOutputFilter()
patTemplate::clearAllTemplates()
patTemplate::clearAttribute()
patTemplate::clearGlobalVar()
patTemplate::clearGlobalVars()
patTemplate::clearTemplate()
patTemplate::clearVar()
patTemplate::clearVars()
patTemplate::displayParsedTemplate()
patTemplate::dump()
patTemplate::exists()
patTemplate::freeAllTemplates()
patTemplate::freeTemplate()
patTemplate::getAttribute()
patTemplate::getAttributes()
patTemplate::getDefaultAttributes()
patTemplate::getEndTag()
patTemplate::getGlobalVars()
patTemplate::getIncludePath()
patTemplate::getNamespace()
patTemplate::getOption()
patTemplate::getParsedTemplate()
patTemplate::getRoot()
patTemplate::getStartTag()
patTemplate::getVar()
patTemplate::loadModule()
patTemplate::loadTemplate()
patTemplate::loadTemplateFromInput()
patTemplate::moduleExists()
patTemplate::parseIntoVar()
patTemplate::parseTemplate()
patTemplate::placeholderExists()
patTemplate::prepareTemplate()
patTemplate::readTemplatesFromFile()
patTemplate::readTemplatesFromInput()
patTemplate::setAttribute()
patTemplate::setAttributes()
patTemplate::setBasedir()
patTemplate::setDefaultAttribute()
patTemplate::setDefaultAttributes()
patTemplate::setNamespace()
patTemplate::setOption()
patTemplate::setRoot()
patTemplate::setTags()
patTemplate::setType()
patTemplate::useTemplateCache()
Documentation generated on Mon, 05 Mar 2007 21:29:02 +0000 by phpDocumentor 1.3.1