root/trunk/framework/Web/UI/TCompositeControl.php
| Revision 2482, 1.0 kB (checked in by knut, 4 months ago) | |
|---|---|
|
|
| Line | |
|---|---|
| 1 | <?php |
| 2 | /** |
| 3 | * TCompositeControl class file. |
| 4 | * |
| 5 | * @author Qiang Xue <qiang.xue@gmail.com> |
| 6 | * @link http://www.pradosoft.com/ |
| 7 | * @copyright Copyright © 2005-2008 PradoSoft |
| 8 | * @license http://www.pradosoft.com/license/ |
| 9 | * @version $Id$ |
| 10 | * @package System.Web.UI |
| 11 | */ |
| 12 | |
| 13 | /** |
| 14 | * TCompositeControl class. |
| 15 | * TCompositeControl is the base class for controls that are composed |
| 16 | * by other controls. |
| 17 | * |
| 18 | * @author Qiang Xue <qiang.xue@gmail.com> |
| 19 | * @version $Id$ |
| 20 | * @package System.Web.UI |
| 21 | * @since 3.0 |
| 22 | */ |
| 23 | class TCompositeControl extends TControl implements INamingContainer |
| 24 | { |
| 25 | /** |
| 26 | * Performs the OnInit step for the control and all its child controls. |
| 27 | * This method overrides the parent implementation |
| 28 | * by ensuring child controls are created first. |
| 29 | * Only framework developers should use this method. |
| 30 | * @param TControl the naming container control |
| 31 | */ |
| 32 | protected function initRecursive($namingContainer=null) |
| 33 | { |
| 34 | $this->ensureChildControls(); |
| 35 | parent::initRecursive($namingContainer); |
| 36 | } |
| 37 | } |
| 38 | |
| 39 | ?> |
Note: See TracBrowser
for help on using the browser.
