summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/pages/Controls/Samples/TMultiView/Home.php
diff options
context:
space:
mode:
authorxue <>2006-04-02 00:58:06 +0000
committerxue <>2006-04-02 00:58:06 +0000
commit3f003a625159217eddedeaa02c999f76f351525e (patch)
tree75c8f28e1f2534ae03cf7e4049e3c208ba0ca542 /demos/quickstart/protected/pages/Controls/Samples/TMultiView/Home.php
parent87aaba0aa45ea3ead27966923fa5702817731e7d (diff)
Added TMultiView demo.
Diffstat (limited to 'demos/quickstart/protected/pages/Controls/Samples/TMultiView/Home.php')
-rw-r--r--demos/quickstart/protected/pages/Controls/Samples/TMultiView/Home.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/demos/quickstart/protected/pages/Controls/Samples/TMultiView/Home.php b/demos/quickstart/protected/pages/Controls/Samples/TMultiView/Home.php
new file mode 100644
index 00000000..1a5dbed3
--- /dev/null
+++ b/demos/quickstart/protected/pages/Controls/Samples/TMultiView/Home.php
@@ -0,0 +1,15 @@
+<?php
+
+class Home extends TPage
+{
+ public function viewChanged($sender,$param)
+ {
+ if($this->MultiView->ActiveViewIndex===2)
+ {
+ $this->Result1->Text="Your text input is: ".$this->Memo->Text;
+ $this->Result2->Text="Your color choice is: ".$this->DropDownList->SelectedValue;
+ }
+ }
+}
+
+?> \ No newline at end of file