summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/pages/ActiveControls/Samples/TActivePanel/Home.php
diff options
context:
space:
mode:
authorctrlaltca@gmail.com <>2011-06-01 22:05:09 +0000
committerctrlaltca@gmail.com <>2011-06-01 22:05:09 +0000
commitd0ce04fb74c0163951bbb36fa4f05973d91b02eb (patch)
treee9882887a8616c897c60b4e6187124027415f206 /demos/quickstart/protected/pages/ActiveControls/Samples/TActivePanel/Home.php
parent8fede6b6ae8220e264b2eb46819b261d6b39c96b (diff)
added documentation for TActivePanel class
Diffstat (limited to 'demos/quickstart/protected/pages/ActiveControls/Samples/TActivePanel/Home.php')
-rw-r--r--demos/quickstart/protected/pages/ActiveControls/Samples/TActivePanel/Home.php21
1 files changed, 21 insertions, 0 deletions
diff --git a/demos/quickstart/protected/pages/ActiveControls/Samples/TActivePanel/Home.php b/demos/quickstart/protected/pages/ActiveControls/Samples/TActivePanel/Home.php
new file mode 100644
index 00000000..ae174f59
--- /dev/null
+++ b/demos/quickstart/protected/pages/ActiveControls/Samples/TActivePanel/Home.php
@@ -0,0 +1,21 @@
+<?php
+
+class Home extends TPage
+{
+ public function buttonClicked($sender,$param)
+ {
+ $this->check1->Checked = !$this->check1->Checked;
+ if($this->txt1->Text=="")
+ $this->txt1->Text="changes happens";
+ else
+ $this->txt1->Text="";
+ if($this->label1->Text=="")
+ $this->label1->Text="label has changed, too";
+ else
+ $this->label1->Text="";
+
+ $this->panel1->render($param->NewWriter);
+ }
+}
+
+?> \ No newline at end of file