PHP Class Prado\Web\UI\WebControls\TTemplatedWizardStep

TTemplatedWizardStep represents a wizard step whose content and navigation can be customized using templates. To customize the step content, specify {@link setContentTemplate ContentTemplate}. To customize navigation specific to the step, specify {@link setNavigationTemplate NavigationTemplate}. Note, if the navigation template is not specified, default navigation will be used.
Since: 3.0
Author: Qiang Xue ([email protected])
Inheritance: extends TWizardStep, implements Prado\Web\UI\INamingContainer
Afficher le fichier Open project: pradosoft/prado

Méthodes publiques

Méthode Description
createChildControls ( ) Creates child controls.
getContentTemplate ( ) : Prado\Web\UI\ITemplate
getNavigationContainer ( ) : TWizardNavigationContainer
getNavigationTemplate ( ) : Prado\Web\UI\ITemplate
instantiateNavigationTemplate ( ) Instantiates the navigation template if any
onInit ( $param ) Ensures child controls are created.
setContentTemplate ( $value )
setNavigationTemplate ( $value )

Method Details

createChildControls() public méthode

This method mainly instantiates the content template, if any.
public createChildControls ( )

getContentTemplate() public méthode

public getContentTemplate ( ) : Prado\Web\UI\ITemplate
Résultat Prado\Web\UI\ITemplate the template for the content of the wizard step.

getNavigationContainer() public méthode

public getNavigationContainer ( ) : TWizardNavigationContainer
Résultat TWizardNavigationContainer the control containing the navigation. It could be null if no navigation template is specified.

getNavigationTemplate() public méthode

public getNavigationTemplate ( ) : Prado\Web\UI\ITemplate
Résultat Prado\Web\UI\ITemplate the template for displaying the navigation UI of a wizard step. Defaults to null.

instantiateNavigationTemplate() public méthode

Instantiates the navigation template if any

onInit() public méthode

Ensures child controls are created.
public onInit ( $param )

setContentTemplate() public méthode

public setContentTemplate ( $value )

setNavigationTemplate() public méthode

public setNavigationTemplate ( $value )