From 72bf039357e9137122733c50924130747fd14855 Mon Sep 17 00:00:00 2001
From: xue <>
Date: Mon, 6 Mar 2006 16:12:59 +0000
Subject: final fixes before 3.0b release.
---
framework/Web/UI/WebControls/TWizardStep.php | 78 ---------------
framework/Web/UI/WebControls/TWizardTemplate.php | 116 -----------------------
2 files changed, 194 deletions(-)
delete mode 100644 framework/Web/UI/WebControls/TWizardStep.php
delete mode 100644 framework/Web/UI/WebControls/TWizardTemplate.php
(limited to 'framework/Web/UI')
diff --git a/framework/Web/UI/WebControls/TWizardStep.php b/framework/Web/UI/WebControls/TWizardStep.php
deleted file mode 100644
index 9e58b59e..00000000
--- a/framework/Web/UI/WebControls/TWizardStep.php
+++ /dev/null
@@ -1,78 +0,0 @@
-
- * @version $Revision: 1.1 $ $Date: 2005/01/22 03:11:28 $
- * @package System.Web.UI.WebControls
- */
-
-/**
- * Each step of the TWizard is specified by one TWizardStep component.
- * A wizard step can be of type "Auto" or "Final" be specifying the
- * Type property. The "Final" step type should be the very last step
- * of the form to show a final confirmation/"Thank you" note. All other
- * steps should be of Type="Auto". The Title property is by default
- * used by the Navigation side bar as the name of the links to each form.
- *
- * TWizardStep should be used within a TWizard component.
- *
- * Namespace: System.Web.UI.WebControls
- *
- * Properties
- * - Type, string,
- *
Gets or sets the step type. Valid types are
- * "Auto" and "Final".
- * - Title, string,
- *
Gets or sets the title for this wizard step.
- *
- * @author Xiang Wei Zhuo
- * @version v1.0, last update on Sat Dec 11 15:25:11 EST 2004
- * @package System.Web.UI.WebControls
- */
-class TWizardStep extends TPanel
-{
- /**
- * Wizard step type "Auto"
- * @var string
- */
- const TYPE_AUTO = 'Auto';
-
- /**
- * Wizard step type "Final"
- * @var string
- */
- const TYPE_FINAL = 'Final';
-
- /**
- * Get the wizard step type.
- * @return string step type.
- */
- function getType()
- {
- return $this->getViewState('Type',self::TYPE_AUTO);
- }
-
- /**
- * Set the wizard step type, default is "Auto". Valid step
- * types are "Auto" and "Final".
- * @param string step type
- */
- function setType($value)
- {
- $this->setViewState('Type', TPropertyValue::ensureEnum(
- $value, self::TYPE_AUTO, self::TYPE_FINAL), self::TYPE_AUTO);
- }
-}
-
-?>
\ No newline at end of file
diff --git a/framework/Web/UI/WebControls/TWizardTemplate.php b/framework/Web/UI/WebControls/TWizardTemplate.php
deleted file mode 100644
index 2c209859..00000000
--- a/framework/Web/UI/WebControls/TWizardTemplate.php
+++ /dev/null
@@ -1,116 +0,0 @@
-
- * @version $Revision: 1.3 $ $Date: 2005/01/23 23:23:54 $
- * @package System.Web.UI.WebControls
- */
-
-/**
- * The TWizardTemplate component if present within a TWizard will override
- * the specific default templates. The allowable templated to be overidden are
- *
- * # NavigationStart -- used for the 1st page of the form
- * # NavigationStep -- used for each intermediate step of the form
- * # NavigationFinish -- used for the last step of the form
- * # NavigationSideBar -- displays the list of links to each form
- *
- * The type of template is specified by the Type property, e.g.
- * Type="NavigationStart".
- *
- * Multiple instances of the same template are allowed. If a template
- * is not specified, the default templates will be used.
- *
- * Namespace: System.Web.UI.WebControls
- *
- * Properties
- * - Type, string,
- *
Gets or sets the template type. Valid types are
- * "NavigationStart", "NavigationStep", "NavigationFinish" and
- * "NavigationSideBar".
- *
- * @author Xiang Wei Zhuo
- * @version v1.0, last update on Sat Dec 11 15:25:11 EST 2004
- * @package System.Web.UI.WebControls
- */
-class TWizardTemplate extends TPanel
-{
- /**
- * Navigation template ID for the 1st page of the form.
- * @var string
- */
- const ID_START='NavigationStart';
-
- /**
- * Navigation template ID for each intermediate step of the form.
- * @var string
- */
- const ID_STEP='NavigationStep';
-
- /**
- * Navigation template ID for the last step of the form.
- * @var string
- */
- const ID_FINISH='NavigationFinish';
-
- /**
- * Navigation template ID for the list of links to each form.
- * @var string
- */
- const ID_SIDEBAR='NavigationSideBar';
-
- /**
- * Template type.
- * @var type
- */
- private $type;
-
- /**
- * Set the template type, must be of "NavigationStart",
- * "NavigationStep", "NavigationFinish" or "NavigationSideBar".
- * @param string template type.
- */
- function setType($value)
- {
- $this->type = TPropertyValue::ensureEnum($value,
- self::ID_START, self::ID_STEP, self::ID_FINISH, self::ID_SIDEBAR);
- }
-
- /**
- * Gets the template type.
- * @return string template type.
- */
- function getType()
- {
- return $this->type;
- }
-
- /**
- * Override the parent implementation.
- * Adds all components within the TWizardTemplate body as it's child.
- * @param object an object within the TWizardTemplate
- * has been handled.
- * @param object a component object.
- * @param object the template owner object
- */
- //TODO, how does this work? naming container?
- /*public function addParsedObject($object,$context)
- {
- if($object instanceof TComponent)
- $this->addChild($object);
- $this->addBody($object);
- }*/
-}
-
-?>
\ No newline at end of file
--
cgit v1.2.3