From 2f36ce50b85cf0d02174464356e6636d14f4c19a Mon Sep 17 00:00:00 2001 From: xue <> Date: Sun, 2 Apr 2006 00:23:25 +0000 Subject: Added TMultiView tutorial and demo. --- framework/Web/UI/WebControls/TMultiView.php | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'framework/Web/UI/WebControls/TMultiView.php') diff --git a/framework/Web/UI/WebControls/TMultiView.php b/framework/Web/UI/WebControls/TMultiView.php index 5e9398f3..5f4f3d84 100644 --- a/framework/Web/UI/WebControls/TMultiView.php +++ b/framework/Web/UI/WebControls/TMultiView.php @@ -28,6 +28,9 @@ * - SwitchViewID : switch to a view by its ID path * - SwitchViewIndex : switch to a view by its index in the {@link getViews Views} collection. * + * TMultiView raises {@link OnActiveViewChanged OnActiveViewChanged} event + * when its active view is changed during a postback. + * * @author Qiang Xue * @version $Revision: $ $Date: $ * @package System.Web.UI.WebControls @@ -68,7 +71,7 @@ class TMultiView extends TControl } /** - * @return integer the zero-based index of the current view in the view collection. -1 if no active view. + * @return integer the zero-based index of the current view in the view collection. -1 if no active view. Default is -1. */ public function getActiveViewIndex() { @@ -184,7 +187,7 @@ class TMultiView extends TControl /** * Initializes the active view if any. * This method overrides the parent implementation. - * @param mixed event parameter + * @param TEventParameter event parameter */ public function onInit($param) { @@ -196,7 +199,7 @@ class TMultiView extends TControl /** * Raises OnActiveViewChanged event. * The event is raised when the currently active view is changed to a new one - * @param mixed event parameter + * @param TEventParameter event parameter */ public function onActiveViewChanged($param) { -- cgit v1.2.3