summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/pages/Controls/Samples/TPanel/Home.php
diff options
context:
space:
mode:
authorxue <>2005-12-31 15:49:32 +0000
committerxue <>2005-12-31 15:49:32 +0000
commit585c7308803c0ae51d5355d1712b0e3beb0a6bdf (patch)
treea0435f7d9a53d909d1a55f09c694a29a82c3d76d /demos/quickstart/protected/pages/Controls/Samples/TPanel/Home.php
parent5479507cbdcbc14685a443b1096171b5134f82bf (diff)
Added TPanel default button sample.
Diffstat (limited to 'demos/quickstart/protected/pages/Controls/Samples/TPanel/Home.php')
-rw-r--r--demos/quickstart/protected/pages/Controls/Samples/TPanel/Home.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/demos/quickstart/protected/pages/Controls/Samples/TPanel/Home.php b/demos/quickstart/protected/pages/Controls/Samples/TPanel/Home.php
new file mode 100644
index 00000000..d6cf1bd5
--- /dev/null
+++ b/demos/quickstart/protected/pages/Controls/Samples/TPanel/Home.php
@@ -0,0 +1,11 @@
+<?php
+
+class Home extends TPage
+{
+ public function buttonClicked($sender,$param)
+ {
+ $this->Result->Text="You have clicked on '$sender->Text'.";
+ }
+}
+
+?> \ No newline at end of file