diff options
author | wei <> | 2006-08-12 12:54:27 +0000 |
---|---|---|
committer | wei <> | 2006-08-12 12:54:27 +0000 |
commit | 1180e6486139a9c9662984367c4f624394e06f35 (patch) | |
tree | f89a379960284595d5a425e22424582eea57422c /tests/FunctionalTests/active-controls/protected/pages/CallbackTimerTest.php | |
parent | 54d4919e3f1b00b644fa3c107acdf20159a1b154 (diff) |
Add Triggered Callbacks
Diffstat (limited to 'tests/FunctionalTests/active-controls/protected/pages/CallbackTimerTest.php')
-rw-r--r-- | tests/FunctionalTests/active-controls/protected/pages/CallbackTimerTest.php | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/tests/FunctionalTests/active-controls/protected/pages/CallbackTimerTest.php b/tests/FunctionalTests/active-controls/protected/pages/CallbackTimerTest.php deleted file mode 100644 index da87ac0f..00000000 --- a/tests/FunctionalTests/active-controls/protected/pages/CallbackTimerTest.php +++ /dev/null @@ -1,27 +0,0 @@ -<?php - -class CallbackTimerTest extends TPage -{ - function start_timer($sender, $param) - { - $this->timer1->startTimer(); - $this->setViewState('count', 0); - } - - function stop_timer($sender, $param) - { - $this->timer1->stopTimer(); - } - - function tick($sender, $param) - { - $count = intval($this->getViewState('count')); - $this->setViewState('count', ++$count); - if($count > 10) - $this->timer1->stopTimer(); - else - $this->label1->Text .= " ".$count; - } -} - -?>
\ No newline at end of file |