From 57284b8cfbd15a04d8a23f324e76f694d6bd3dfe Mon Sep 17 00:00:00 2001 From: xue <> Date: Wed, 3 May 2006 19:13:00 +0000 Subject: Fixed #152 - constituent parts of TWizard are exposed --- HISTORY | 1 + demos/quickstart/protected/application.xml | 1 - framework/Web/UI/WebControls/TWizard.php | 48 ++++++++++++++++++++++++++++++ 3 files changed, 49 insertions(+), 1 deletion(-) diff --git a/HISTORY b/HISTORY index 211a10fd..022aa476 100644 --- a/HISTORY +++ b/HISTORY @@ -3,6 +3,7 @@ Version 3.0.1 June 1, 2006 CHG: Ticket#153 - TAssetManager now ignores .svn directories (Qiang) CHG: Ticket#154 - HTML comments are now parsed as regular template strings (Qiang) ENH: Ticket#151 - added sanity check GET parameters in constructUrl() (Qiang) +ENH: Ticket#152 - constituent parts of TWizard are exposed (Qiang) ENH: added sanity check to calling event handlers (Qiang) Version 3.0.0 May 1, 2006 diff --git a/demos/quickstart/protected/application.xml b/demos/quickstart/protected/application.xml index 18eed91e..cd6dd01e 100644 --- a/demos/quickstart/protected/application.xml +++ b/demos/quickstart/protected/application.xml @@ -10,7 +10,6 @@ --> - diff --git a/framework/Web/UI/WebControls/TWizard.php b/framework/Web/UI/WebControls/TWizard.php index de30fb0e..3af09a95 100644 --- a/framework/Web/UI/WebControls/TWizard.php +++ b/framework/Web/UI/WebControls/TWizard.php @@ -598,6 +598,54 @@ class TWizard extends TWebControl implements INamingContainer $this->setViewState('UseDefaultLayout',TPropertyValue::ensureBoolean($value),true); } + /** + * @return TPanel container of the wizard header + */ + public function getHeader() + { + return $this->_header; + } + + /** + * @return TPanel container of the wizard step content + */ + public function getStepContent() + { + return $this->_stepContent; + } + + /** + * @return TPanel container of the wizard side bar + */ + public function getSideBar() + { + return $this->_sideBar; + } + + /** + * @var TWizardNavigationContainer container of the start navigation + */ + public function getStartNavigation() + { + return $this->_startNavigation; + } + + /** + * @var TWizardNavigationContainer container of the step navigation + */ + public function getStepNavigation() + { + return $this->_stepNavigation; + } + + /** + * @var TWizardNavigationContainer container of the finish navigation + */ + public function getFinishNavigation() + { + return $this->_finishNavigation; + } + /** * Raises OnActiveStepChanged event. * This event is raised when the current visible step is changed in the -- cgit v1.2.3