diff options
Diffstat (limited to 'tests/FunctionalTests/tickets/protected/pages/Ticket278.php')
-rw-r--r-- | tests/FunctionalTests/tickets/protected/pages/Ticket278.php | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket278.php b/tests/FunctionalTests/tickets/protected/pages/Ticket278.php index 1aadee77..2e18fd54 100644 --- a/tests/FunctionalTests/tickets/protected/pages/Ticket278.php +++ b/tests/FunctionalTests/tickets/protected/pages/Ticket278.php @@ -1,23 +1,23 @@ -<?php
-
-class Ticket278 extends TPage
-{
- function validator2_onValidate($sender, $param)
- {
- $sender->Enabled = $this->check1->Checked;
- }
-
- function validate2_onPostValidate($sender, $param)
- {
- $sender->Enabled = true;
- }
-
- function onPreRender($param)
- {
- parent::onPreRender($param);
- $this->panel1->Style =
- $this->check1->Checked ? "display:block" : "display:none";
- }
-}
-
+<?php + +class Ticket278 extends TPage +{ + function validator2_onValidate($sender, $param) + { + $sender->Enabled = $this->check1->Checked; + } + + function validate2_onPostValidate($sender, $param) + { + $sender->Enabled = true; + } + + function onPreRender($param) + { + parent::onPreRender($param); + $this->panel1->Style = + $this->check1->Checked ? "display:block" : "display:none"; + } +} + ?>
\ No newline at end of file |