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

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

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