diff options
Diffstat (limited to 'tests/FunctionalTests/tickets/protected/pages/Ticket598.php')
-rw-r--r-- | tests/FunctionalTests/tickets/protected/pages/Ticket598.php | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket598.php b/tests/FunctionalTests/tickets/protected/pages/Ticket598.php index 0456725f..a8c4c397 100644 --- a/tests/FunctionalTests/tickets/protected/pages/Ticket598.php +++ b/tests/FunctionalTests/tickets/protected/pages/Ticket598.php @@ -1,19 +1,19 @@ -<?php
-Prado::using('System.Web.UI.ActiveControls.*');
-class Ticket598 extends TPage
-{
-public function onLoad ($param) {
- parent::onLoad($param);
- if (!$this->isPostBack and !$this->isCallBack) {
- $this->Lbl->setText(date("h:m:s"));
- }
- }
- public function startBigTask ($sender, $param) {
- sleep(10); // Simulate task
- }
-
- public function updateLbl($sender, $param) {
- $this->Lbl->SetText(date("h:m:s"));
- }
-}
+<?php +Prado::using('System.Web.UI.ActiveControls.*'); +class Ticket598 extends TPage +{ +public function onLoad ($param) { + parent::onLoad($param); + if (!$this->isPostBack and !$this->isCallBack) { + $this->Lbl->setText(date("h:m:s")); + } + } + public function startBigTask ($sender, $param) { + sleep(10); // Simulate task + } + + public function updateLbl($sender, $param) { + $this->Lbl->SetText(date("h:m:s")); + } +} ?>
\ No newline at end of file |