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
Mostrar archivo Open project: pradosoft/prado

Public Methods

Method 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 method

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

getContentTemplate() public method

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

getNavigationContainer() public method

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

getNavigationTemplate() public method

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

instantiateNavigationTemplate() public method

Instantiates the navigation template if any

onInit() public method

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

setContentTemplate() public method

public setContentTemplate ( $value )

setNavigationTemplate() public method

public setNavigationTemplate ( $value )