blob: 4e33bb836083666c8540c2c228c935ab4a18b3be (
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
33
34
35
36
37
38
39
|
<?php
/**
* TCompositeControl class file.
*
* @author Qiang Xue <qiang.xue@gmail.com>
* @link http://www.pradosoft.com/
* @copyright Copyright © 2005 PradoSoft
* @license http://www.pradosoft.com/license/
* @version $Revision: $ $Date: $
* @package System.Web.UI
*/
/**
* TCompositeControl class.
* TCompositeControl is the base class for controls that are composed
* by other controls.
*
* @author Qiang Xue <qiang.xue@gmail.com>
* @version $Revision: $ $Date: $
* @package System.Web.UI
* @since 3.0
*/
class TCompositeControl extends TControl implements INamingContainer
{
/**
* Performs the OnInit step for the control and all its child controls.
* This method overrides the parent implementation
* by ensuring child controls are created first.
* Only framework developers should use this method.
* @param TControl the naming container control
*/
protected function initRecursive($namingContainer=null)
{
$this->ensureChildControls();
parent::initRecursive($namingContainer);
}
}
?>
|