PHP Class Prado\Web\UI\WebControls\TWizardStep

TWizardStep represents a wizard step. The wizard owning the step can be obtained by {@link getWizard Wizard}. To specify the type of the step, set {@link setStepType StepType}; For step title, set {@link setTitle Title}. If a step can be re-visited, set {@link setAllowReturn AllowReturn} to true.
Since: 3.0
Author: Qiang Xue ([email protected])
Inheritance: extends TView
Datei anzeigen Open project: pradosoft/prado Class Usage Examples

Public Methods

Method Description
getAllowReturn ( ) : boolean
getStepType ( ) : TWizardStepType
getTitle ( ) : string
getWizard ( ) : TWizard
setAllowReturn ( $value )
setStepType ( $type )
setTitle ( $value )
setWizard ( $wizard ) Sets the wizard owning this step.

Method Details

getAllowReturn() public method

public getAllowReturn ( ) : boolean
return boolean whether this step can be re-visited. Default to true.

getStepType() public method

public getStepType ( ) : TWizardStepType
return TWizardStepType the wizard step type. Defaults to TWizardStepType::Auto.

getTitle() public method

public getTitle ( ) : string
return string the title for this step.

getWizard() public method

public getWizard ( ) : TWizard
return TWizard the wizard owning this step

setAllowReturn() public method

public setAllowReturn ( $value )

setStepType() public method

public setStepType ( $type )

setTitle() public method

public setTitle ( $value )

setWizard() public method

This method is used internally by {@link TWizard}.
public setWizard ( $wizard )