summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/active-controls/protected/pages/ActiveButtonTest.php
blob: 42322ea171ee56dc90854b2279d2154cb9f95b03 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?php

class ActiveButtonTest extends TPage
{
	function onLoad($param)
	{
		new TActiveButton;
	}

	function button2_onclick($sender, $param)
	{
		$this->label1->Text = "Button 1 was clicked ";
	}

	function button2_oncallback($sender, $param)
	{
		$this->label1->Text .= "using callback!";
	}
}

?>