summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/pages/Controls/Samples/TTextBox/Home.php
blob: d968defb6e934a0bb5d5f73de1c98a86c63ad391 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?php

class Home extends TPage
{
	public function onLoad($param)
	{
		parent::onLoad($param);
		$this->Output->dataBind();
	}

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

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