summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/pages/JuiControls/Samples/TJuiDialog/Home.php
blob: f9d1e3a9c111c0f34cb5d160de1ae4c5cc9752a8 (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
25
26
27
28
29
30
31
32
33
<?php

class Home extends TPage
{

	public function bt1Click($sender, $param)
	{
		$this->dlg1->open();
	}

	public function bt2Click($sender, $param)
	{
		$this->dlg2->open();
	}

	public function bt3Click($sender, $param)
	{
		$this->dlg3->open();
	}

	public function dlg3Ok($sender, $param)
	{
		$this->lbl3->Text="Button Ok clicked";
		$this->dlg3->close();
	}

	public function dlg3Cancel($sender, $param)
	{
		$this->lbl3->Text="Button Cancel clicked";
		$this->dlg3->close();
	}

}