blob: e7f399676da3c72a2f7b8a070bdb949a6908a1b3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
<?php
class Home extends TPage
{
public function callback1_Requested($sender,$param)
{
$this->label1->Text="You clicked the div, didn't you?";
}
public function buttonClicked($sender,$param)
{
$this->label1->Text="This is a label";
}
public function callback2_Requested($sender,$param)
{
$parameters=$param->CallbackParameter;
$this->labelParam1->Text = THttpUtility::htmlEncode($parameters->Param1);
$this->labelParam2->Text = THttpUtility::htmlEncode($parameters->Param2);
$this->labelParam3->Text = THttpUtility::htmlEncode($parameters->Param3);
}
}
?>
|