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

class LabeledTextBox extends TTemplateControl
{
	public function getLabel()
	{
		$this->ensureChildControls();
		return $this->getRegisteredObject('Label');
	}

	public function getTextBox()
	{
		$this->ensureChildControls();
		return $this->getRegisteredObject('TextBox');
	}
}

?>