summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveMultiView/Home.php
diff options
context:
space:
mode:
Diffstat (limited to 'demos/quickstart/protected/pages/ActiveControls/Samples/TActiveMultiView/Home.php')
-rw-r--r--demos/quickstart/protected/pages/ActiveControls/Samples/TActiveMultiView/Home.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveMultiView/Home.php b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveMultiView/Home.php
new file mode 100644
index 00000000..1a5dbed3
--- /dev/null
+++ b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveMultiView/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