summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/pages/Controls/Samples/TextBox.php
blob: 1e6478de1e5fc4da86c66b7e1bb5d29b3c977c2a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?php

class TextBox extends TPage
{
	public function textChanged($sender,$param)
	{
		$sender->Text="text changed";
	}

	public function submitText($sender,$param)
	{
		$this->TextBox1->Text="You just entered '".$this->TextBox1->Text."'.";
	}
}

?>