diff options
Diffstat (limited to 'demos/controls/protected/pages/HomePage.php')
-rw-r--r-- | demos/controls/protected/pages/HomePage.php | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/demos/controls/protected/pages/HomePage.php b/demos/controls/protected/pages/HomePage.php new file mode 100644 index 00000000..4cfc3b0a --- /dev/null +++ b/demos/controls/protected/pages/HomePage.php @@ -0,0 +1,14 @@ +<?php
+
+class HomePage extends TPage
+{
+ public function testClick($sender,$param)
+ {
+ if($sender->BackColor==='')
+ $sender->BackColor='blue';
+ else
+ $sender->BackColor='';
+ }
+}
+
+?>
\ No newline at end of file |