From 1180e6486139a9c9662984367c4f624394e06f35 Mon Sep 17 00:00:00 2001 From: wei <> Date: Sat, 12 Aug 2006 12:54:27 +0000 Subject: Add Triggered Callbacks --- .../protected/pages/CallbackTimerTest.php | 27 ---------------------- 1 file changed, 27 deletions(-) delete mode 100644 tests/FunctionalTests/active-controls/protected/pages/CallbackTimerTest.php (limited to 'tests/FunctionalTests/active-controls/protected/pages/CallbackTimerTest.php') 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 @@ -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 -- cgit v1.2.3