diff options
Diffstat (limited to 'demos/quickstart/protected/pages/Controls/Samples/TImageButton')
-rw-r--r-- | demos/quickstart/protected/pages/Controls/Samples/TImageButton/Home.php | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/demos/quickstart/protected/pages/Controls/Samples/TImageButton/Home.php b/demos/quickstart/protected/pages/Controls/Samples/TImageButton/Home.php index df61ed82..e30aab2b 100644 --- a/demos/quickstart/protected/pages/Controls/Samples/TImageButton/Home.php +++ b/demos/quickstart/protected/pages/Controls/Samples/TImageButton/Home.php @@ -1,18 +1,18 @@ -<?php
-
-class Home extends TPage
-{
- public function buttonClicked($sender,$param)
- {
- if($param instanceof TCommandEventParameter)
- {
- $this->Result2->Text="Command name: $param->CommandName, Command parameter: $param->CommandParameter";
- }
- else
- {
- $this->Result->Text="You clicked at ($param->X,$param->Y)";
- }
- }
-}
-
+<?php + +class Home extends TPage +{ + public function buttonClicked($sender,$param) + { + if($param instanceof TCommandEventParameter) + { + $this->Result2->Text="Command name: $param->CommandName, Command parameter: $param->CommandParameter"; + } + else + { + $this->Result->Text="You clicked at ($param->X,$param->Y)"; + } + } +} + ?>
\ No newline at end of file |