summaryrefslogtreecommitdiff
path: root/framework/Web/UI/WebControls
diff options
context:
space:
mode:
authorxue <>2006-04-02 00:23:25 +0000
committerxue <>2006-04-02 00:23:25 +0000
commit2f36ce50b85cf0d02174464356e6636d14f4c19a (patch)
treeeedfd478d9d3d02450072ff7da2c9c283d8bd7e4 /framework/Web/UI/WebControls
parent4374bbe9aa2bf242c342ab4694c9c90303b5bc58 (diff)
Added TMultiView tutorial and demo.
Diffstat (limited to 'framework/Web/UI/WebControls')
-rw-r--r--framework/Web/UI/WebControls/TMultiView.php9
1 files changed, 6 insertions, 3 deletions
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 <qiang.xue@gmail.com>
* @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 <b>OnActiveViewChanged</b> 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)
{