summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/pages/Controls/Samples/TButton
diff options
context:
space:
mode:
Diffstat (limited to 'demos/quickstart/protected/pages/Controls/Samples/TButton')
-rw-r--r--demos/quickstart/protected/pages/Controls/Samples/TButton/Home.php26
1 files changed, 13 insertions, 13 deletions
diff --git a/demos/quickstart/protected/pages/Controls/Samples/TButton/Home.php b/demos/quickstart/protected/pages/Controls/Samples/TButton/Home.php
index f18072f2..3711ca46 100644
--- a/demos/quickstart/protected/pages/Controls/Samples/TButton/Home.php
+++ b/demos/quickstart/protected/pages/Controls/Samples/TButton/Home.php
@@ -1,14 +1,14 @@
-<?php
-
-class Home extends TPage
-{
- public function buttonClicked($sender,$param)
- {
- if($param instanceof TCommandEventParameter)
- $sender->Text="Name: {$param->CommandName}, Param: {$param->CommandParameter}";
- else
- $sender->Text="I'm clicked";
- }
-}
-
+<?php
+
+class Home extends TPage
+{
+ public function buttonClicked($sender,$param)
+ {
+ if($param instanceof TCommandEventParameter)
+ $sender->Text="Name: {$param->CommandName}, Param: {$param->CommandParameter}";
+ else
+ $sender->Text="I'm clicked";
+ }
+}
+
?> \ No newline at end of file