blob: 15702d299228e2be34a1213ba991c1c994cbd54d (
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
26
27
28
29
30
31
32
|
<?php
/**
* LabeledTextBox
*
* @author Wei Zhuo <weizhuo[at]gmail[dot]com>
* @version $Revision: $ $Date: $
* @package System.Web.UI.WebControls
* @since 3.0
*/
class LabeledTextBox extends TTemplateControl
{
/**
* @return TTextBox textbox instance
*/
public function getTextBox()
{
$this->ensureChildControls();
return $this->getRegisteredObject('textbox');
}
/**
* @return TLabel textbox label
*/
public function getLabel()
{
$this->ensureChildControls();
return $this->getRegisteredObject('label');
}
}
?>
|