diff options
Diffstat (limited to 'tests/FunctionalTests/active-controls/protected/pages/DelayedCallback.php')
-rw-r--r-- | tests/FunctionalTests/active-controls/protected/pages/DelayedCallback.php | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/tests/FunctionalTests/active-controls/protected/pages/DelayedCallback.php b/tests/FunctionalTests/active-controls/protected/pages/DelayedCallback.php index 7e9195dc..1785bd34 100644 --- a/tests/FunctionalTests/active-controls/protected/pages/DelayedCallback.php +++ b/tests/FunctionalTests/active-controls/protected/pages/DelayedCallback.php @@ -1,21 +1,21 @@ -<?php
-
-class DelayedCallback extends TPage
-{
- function callback1($sender, $param)
- {
- $ms = 4;
- sleep($ms);
- $this->status->Text="Callback 1 returned after {$ms}s";
- }
-
- function callback2($sender, $param)
- {
- $ms = 2;
- sleep($ms);
- $this->status->Text="Callback 2 delayed {$ms}s";
- }
-
-}
-
+<?php + +class DelayedCallback extends TPage +{ + function callback1($sender, $param) + { + $ms = 4; + sleep($ms); + $this->status->Text="Callback 1 returned after {$ms}s"; + } + + function callback2($sender, $param) + { + $ms = 2; + sleep($ms); + $this->status->Text="Callback 2 delayed {$ms}s"; + } + +} + ?>
\ No newline at end of file |