Class TWizardNavigationEventParameter

Description

TWizardNavigationEventParameter class.

TWizardNavigationEventParameter represents the parameter for TWizard's navigation events.

The index of the currently active step can be obtained from CurrentStepIndex, while the index of the candidate new step is in NextStepIndex. By modifying NextStepIndex, the new step can be changed to another one. If there is anything wrong with the navigation and it is not wanted, set CancelNavigation to true.

  • author: Qiang Xue <qiang.xue@gmail.com>
  • version: $Id: TWizard.php 2996 2011-06-20 15:24:57Z ctrlaltca@gmail.com $
  • since: 3.0

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

TComponent
   |
   --TEventParameter
      |
      --TWizardNavigationEventParameter
Method Summary
TWizardNavigationEventParameter __construct (integer $currentStep)
boolean getCancelNavigation ()
integer getCurrentStepIndex ()
integer getNextStepIndex ()
void setCancelNavigation (boolean $value)
void setNextStepIndex (integer $index)
Methods
Constructor __construct (line 1849)

Constructor.

  • access: public
TWizardNavigationEventParameter __construct (integer $currentStep)
  • integer $currentStep: current step index
getCancelNavigation (line 1882)
  • return: whether navigation to the next step should be canceled. Default to false.
  • access: public
boolean getCancelNavigation ()
getCurrentStepIndex (line 1858)
  • return: the zero-based index of the currently active step.
  • access: public
integer getCurrentStepIndex ()
getNextStepIndex (line 1866)
  • return: the zero-based index of the next step. Default to CurrentStepIndex.
  • access: public
integer getNextStepIndex ()
setCancelNavigation (line 1890)
  • access: public
void setCancelNavigation (boolean $value)
  • boolean $value: whether navigation to the next step should be canceled.
setNextStepIndex (line 1874)
  • access: public
void setNextStepIndex (integer $index)
  • integer $index: the zero-based index of the next step.

Inherited Methods

Inherited From TComponent

TComponent::addParsedObject()
TComponent::attachEventHandler()
TComponent::canGetProperty()
TComponent::canSetProperty()
TComponent::createdOnTemplate()
TComponent::detachEventHandler()
TComponent::evaluateExpression()
TComponent::evaluateStatements()
TComponent::getEventHandlers()
TComponent::getSubProperty()
TComponent::hasEvent()
TComponent::hasEventHandler()
TComponent::hasProperty()
TComponent::raiseEvent()
TComponent::setSubProperty()
TComponent::__call()
TComponent::__get()
TComponent::__set()
TComponent::__sleep()
TComponent::__wakeup()

Documentation generated on Mon, 25 Jun 2012 14:39:39 +0200 by phpDocumentor 1.4.3