summaryrefslogtreecommitdiff
path: root/framework/Web/UI/WebControls/TWizard.php
diff options
context:
space:
mode:
authorxue <>2006-03-25 14:29:46 +0000
committerxue <>2006-03-25 14:29:46 +0000
commitde4e0fc293b8f5a9d009cf40018bba88d9416b41 (patch)
tree98543330162a6e103f95257ce9dcdb25540fd6df /framework/Web/UI/WebControls/TWizard.php
parentd8d697fe108e488e4b210d96ec08aa69942a3902 (diff)
Finished all TWizard demos.
Diffstat (limited to 'framework/Web/UI/WebControls/TWizard.php')
-rw-r--r--framework/Web/UI/WebControls/TWizard.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/framework/Web/UI/WebControls/TWizard.php b/framework/Web/UI/WebControls/TWizard.php
index 3a37b590..0da859f8 100644
--- a/framework/Web/UI/WebControls/TWizard.php
+++ b/framework/Web/UI/WebControls/TWizard.php
@@ -202,6 +202,7 @@ class TWizard extends TWebControl implements INamingContainer
/**
* @param TWizardStep step to be activated
+ * @throws TInvalidOperationException if the step is not in the wizard step collection
*/
public function setActiveStep($step)
{
@@ -1275,6 +1276,7 @@ class TWizard extends TWebControl implements INamingContainer
* wizard-specific events.
* @param mixed sender of the original command event
* @param TEventParameter event parameter
+ * @throws TInvalidDataValueException if a navigation command is associated with an invalid parameter
*/
public function onBubbleEvent($sender,$param)
{
@@ -1751,6 +1753,7 @@ class TWizardStepCollection extends TList
* the item being added is a {@link TWizardStep}.
* @param integer the speicified position.
* @param mixed new item
+ * @throws TInvalidDataTypeException if the item being added is not TWizardStep.
*/
public function insertAt($index,$item)
{
@@ -1760,7 +1763,7 @@ class TWizardStepCollection extends TList
$this->_wizard->addedWizardStep($item);
}
else
- throw new TInvalidDataTypeException('wizardstepcollection_wizardstepbase_required');
+ throw new TInvalidDataTypeException('wizardstepcollection_wizardstep_required');
}
/**
@@ -2032,6 +2035,7 @@ class TWizardNavigationTemplate extends TComponent implements ITemplate
* @param TWizardNavigationButtonStyle button style
* @param boolean whether the button should cause validation
* @param string command name for the button's OnCommand event
+ * @throws TInvalidDataValueException if the button type is not recognized
*/
protected function createNavigationButton($buttonStyle,$causesValidation,$commandName)
{