summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/validators/protected/pages/CheckBox.php
blob: 700ac171cc2787353dfd6e75fd9aa711d6fecdd0 (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
<?php

class CheckBox extends TPage
{
	public function button1Clicked($sender,$param)
	{
		$this->Result1->Text="Button1 is clicked";
		if($this->IsValid)
			$this->Result1->Text.=' and valid';
	}

	public function button2Clicked($sender,$param)
	{
		$this->Result2->Text="Button2 is clicked";
		if($this->IsValid)
			$this->Result2->Text.=' and valid';
	}

	public function button3Clicked($sender,$param)
	{
		$this->Result3->Text="Button3 is clicked";
		if($this->IsValid)
			$this->Result3->Text.=' and valid';
	}
}

?>