summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/pages/ActiveControls/Samples/TTimeTriggeredCallback/Home.php
blob: 6c44c8c1e44f4f5539fbc1fcc34a773323902eca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?php

class Home extends TPage
{
	public function startClicked($sender,$param)
	{
		$this->time1->startTimer();
	}

	public function stopClicked($sender,$param)
	{
		$this->time1->stopTimer();
	}

	public function timerCallback($sender,$param)
	{
		$this->label1->Text="Current time is ".date('H:i:s');
	}

}

?>