## Class TWizardNavigationTemplate

Description

Implements interfaces:

- ITemplate

TWizardNavigationTemplate class.

TWizardNavigationTemplate is the base class for various navigation templates.

- since: 3.0
- version: $Revision: $ $Date: $
- author: Qiang Xue <qiang.xue@gmail.com>

Located in /Web/UI/WebControls/TWizard.php (line 2058)

    TComponent
       |
       --TWizardNavigationTemplate

Direct descendents

Class | Description
--- | ---
TWizardStartNavigationTemplate | TWizardStartNavigationTemplate class.
TWizardFinishNavigationTemplate | TWizardFinishNavigationTemplate class.
TWizardStepNavigationTemplate | TWizardStepNavigationTemplate class.

Method Summary
TWizardNavigationTemplate __construct (TWizard $wizard)
void createNavigationButton (TWizardNavigationButtonStyle $buttonStyle, boolean $causesValidation, string $commandName)
TWizard getWizard ()
void instantiateIn (TControl $parent)
Methods
Constructor __construct (line 2066)

Constructor.

- access: public

TWizardNavigationTemplate __construct (TWizard $wizard)

- TWizard $wizard: the wizard owning this template

createNavigationButton (line 2097)

Creates a navigation button.

It creates a TButton, TLinkButton, or TImageButton, depending on the given parameters.

- access: protected
- throws: TInvalidDataValueException if the button type is not recognized

void createNavigationButton (TWizardNavigationButtonStyle $buttonStyle, boolean $causesValidation, string $commandName)

- TWizardNavigationButtonStyle $buttonStyle: button style
- boolean $causesValidation: whether the button should cause validation
- string $commandName: command name for the button's OnCommand event

getWizard (line 2074)

- return: the wizard owning this template
- access: public

TWizard getWizard ()
instantiateIn (line 2084)

Instantiates the template.

Derived classes should override this method.

- access: public

void instantiateIn (TControl $parent)

- TControl $parent: parent to hold the content within the template

Redefined in descendants as:

- TWizardStartNavigationTemplate::instantiateIn() : Instantiates the template.
- TWizardFinishNavigationTemplate::instantiateIn() : Instantiates the template.
- TWizardStepNavigationTemplate::instantiateIn() : Instantiates the template.

#### Inherited Methods

Inherited From TComponent

> TComponent::attachEventHandler()
> TComponent::canGetProperty()
> TComponent::canSetProperty()
> 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 Sun, 04 Jun 2006 19:00:46 -0400 by phpDocumentor 1.3.0RC4