diff options
Diffstat (limited to 'tests/FunctionalTests/tickets/protected/pages/Ticket433.php')
-rw-r--r-- | tests/FunctionalTests/tickets/protected/pages/Ticket433.php | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket433.php b/tests/FunctionalTests/tickets/protected/pages/Ticket433.php index 2e5c1ff7..a87f8f82 100644 --- a/tests/FunctionalTests/tickets/protected/pages/Ticket433.php +++ b/tests/FunctionalTests/tickets/protected/pages/Ticket433.php @@ -1,24 +1,24 @@ <?php -
-Prado::using('System.Web.UI.ActiveControls.*');
-
-class Ticket433 extends TPage
-{
- public function onLoad($param)
- {
- if(!$this->IsPostBack)
- $this->VoteClick->Text = "BEFORE click";
- }
-
- public function onUpdateVoteClick($sender, $param)
- {
- $sender->Text = 'AFTER click';
- }
-
- public function onUpdateVoteCallback($sender, $param)
- {
- $sender->Text .= ' CALLBACK DONE';
- }
-}
+ +Prado::using('System.Web.UI.ActiveControls.*'); + +class Ticket433 extends TPage +{ + public function onLoad($param) + { + if(!$this->IsPostBack) + $this->VoteClick->Text = "BEFORE click"; + } + + public function onUpdateVoteClick($sender, $param) + { + $sender->Text = 'AFTER click'; + } + + public function onUpdateVoteCallback($sender, $param) + { + $sender->Text .= ' CALLBACK DONE'; + } +} ?>
\ No newline at end of file |