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

?>