blob: 208867b6a5975b60c2831abb000b765f6b7aa4d3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
<?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"));
}
}
|