TTemplateManager class
TTemplateManager manages the loading and parsing of control templates.
There are two ways of loading a template, either by the associated template control class name, or the template file name. The former is via calling getTemplateByClassName, which tries to locate the corresponding template file under the directory containing the class file. The name of the template file is the class name with the extension '.tpl'. To load a template from a template file path, call getTemplateByFileName.
By default, TTemplateManager is registered with TPageService as the template manager module that can be accessed via TPageService::getTemplateManager().
Located in /Web/UI/TTemplateManager.php (line 39)
TComponent | --TApplicationComponent | --TModule | --TTemplateManager
Finds a localized template file.
Loads the template corresponding to the specified class name.
Loads the template from the specified file.
Initializes the module.
This method is required by IModule and is invoked by application. It starts output buffer if it is enabled.
Inherited From TModule
TModule::getID()
TModule::init()
TModule::setID()
Inherited From TApplicationComponent
TApplicationComponent::getApplication()
TApplicationComponent::getRequest()
TApplicationComponent::getResponse()
TApplicationComponent::getService()
TApplicationComponent::getSession()
TApplicationComponent::getUser()
TApplicationComponent::publishAsset()
TApplicationComponent::publishFilePath()
Inherited From TComponent
TComponent::addParsedObject()
TComponent::attachEventHandler()
TComponent::canGetProperty()
TComponent::canSetProperty()
TComponent::createdOnTemplate()
TComponent::detachEventHandler()
TComponent::evaluateExpression()
TComponent::evaluateStatements()
TComponent::getEventHandlers()
TComponent::getSubProperty()
TComponent::hasEvent()
TComponent::hasEventHandler()
TComponent::hasProperty()
TComponent::raiseEvent()
TComponent::setSubProperty()
TComponent::__get()
TComponent::__set()
Documentation generated on Mon, 21 Apr 2008 11:36:32 -0400 by phpDocumentor 1.3.0RC4