summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/features/protected/controls/LabeledTextbox.php
blob: 6a95407d67c22127c959d8c064a24ff4726de0d5 (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
<?php
/*
 * Created on 28/04/2006
 */

class LabeledTextBox extends TTemplateControl
{
	public function __construct()
	{
		parent::__construct();
		$this->ensureChildControls();
	}

	public function getTextBox()
	{
		return $this->getRegisteredObject('textbox');
	}
	
	public function getLabel()
	{
		return $this->getRegisteredObject('label');
	}
}