summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/active-controls/protected/pages/TInPlaceTextBoxTest.php
blob: 6cc5a5005f2e4e649c3ead1ac6433ed8bfcc7f10 (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
<?php

class TInPlaceTextBoxTest extends TPage
{
	function load_text($sender, $param)
	{
		$sender->Text = "muahaha";
	}

	function label1_changed($sender, $param)
	{
		$this->status->Text = "Status: ". $sender->Text;
	}

	function button_clicked($sender, $param)
	{
		$this->label1->Text = "hahahaha";
	}

	function NewPackageSubject($sender, $param)
	{
		throw new TException('Exist');
	}
}

?>