summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/features/protected/controls/LabeledTextbox.php
blob: 9a50d095cac08829db7cbe8c47c42693ffb519ca (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
25
<?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');
	}
} 

?>