PHP Класс Prado\Web\UI\TTemplateControlInheritable

TTemplateControlInheritable is an extension to the base class for all controls that use templates. By default, a control template is assumed to be in a file under the same directory with the control class file. They have the same file name and different extension name. For template file, the extension name is ".tpl". If a TTemplateControlInheritable is inherited it uses the base class template unless the inheriting control defines an own.
С версии: 3.1.8
Автор: Schlaue-Kids.net ([email protected])
Автор: Kyle Caine
Наследование: extends TTemplateControl
Показать файл Открыть проект

Открытые методы

Метод Описание
createChildControls ( ) : void Creates child controls.
doCreateChildControlsFor ( string $parentClass ) : void This method creates the cild controls for the given class
doTemplateForClass ( $parentClass ) : void This method creates the template object for the given class
getIsSourceTemplateControl ( ) : boolean A source template control loads its template from external storage, such as file, db, rather than from within another template.

Описание методов

createChildControls() публичный Метод

This method is overridden to load and instantiate control template. This method should only be used by framework and control developers. Uses the controls template if available or the base class template otherwise.
public createChildControls ( ) : void
Результат void

doCreateChildControlsFor() публичный Метод

This method creates the cild controls for the given class
public doCreateChildControlsFor ( string $parentClass ) : void
$parentClass string The class to generate the child controls for
Результат void

doTemplateForClass() публичный Метод

This method creates the template object for the given class
public doTemplateForClass ( $parentClass ) : void
Результат void

getIsSourceTemplateControl() публичный Метод

A source template control loads its template from external storage, such as file, db, rather than from within another template.
public getIsSourceTemplateControl ( ) : boolean
Результат boolean whether the current control is a source template control