diff options
author | xue <> | 2006-04-30 01:19:34 +0000 |
---|---|---|
committer | xue <> | 2006-04-30 01:19:34 +0000 |
commit | 86720f6bcc405b555b7be5cf45e9ccd42fb8cf51 (patch) | |
tree | ef84c4bec4e13dc2c0708049a06705347424d30b /framework/Web/UI | |
parent | 281eda79cea84f95397040cb5c022c2bdb82e3d9 (diff) |
changed TControl::createChildControls() to public.
Diffstat (limited to 'framework/Web/UI')
-rw-r--r-- | framework/Web/UI/TControl.php | 2 | ||||
-rw-r--r-- | framework/Web/UI/TTemplateControl.php | 2 | ||||
-rw-r--r-- | framework/Web/UI/WebControls/TWizard.php | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/framework/Web/UI/TControl.php b/framework/Web/UI/TControl.php index d0db2139..5becd7e6 100644 --- a/framework/Web/UI/TControl.php +++ b/framework/Web/UI/TControl.php @@ -866,7 +866,7 @@ class TControl extends TApplicationComponent implements IRenderable, IBindable * Do not call this method directly. Instead, call {@link ensureChildControls}
* to ensure child controls are created only once.
*/
- protected function createChildControls()
+ public function createChildControls()
{
}
diff --git a/framework/Web/UI/TTemplateControl.php b/framework/Web/UI/TTemplateControl.php index 971f0288..f18678f1 100644 --- a/framework/Web/UI/TTemplateControl.php +++ b/framework/Web/UI/TTemplateControl.php @@ -123,7 +123,7 @@ class TTemplateControl extends TControl implements INamingContainer * This method is overriden to load and instantiate control template.
* This method should only be used by framework and control developers.
*/
- protected function createChildControls()
+ public function createChildControls()
{
if($tpl=$this->getTemplate(true))
{
diff --git a/framework/Web/UI/WebControls/TWizard.php b/framework/Web/UI/WebControls/TWizard.php index 0db7180e..de30fb0e 100644 --- a/framework/Web/UI/WebControls/TWizard.php +++ b/framework/Web/UI/WebControls/TWizard.php @@ -1006,7 +1006,7 @@ class TWizard extends TWebControl implements INamingContainer /**
* Creates child controls within the wizard
*/
- protected function createChildControls()
+ public function createChildControls()
{
$this->reset();
$this->createSideBar();
@@ -1651,7 +1651,7 @@ class TTemplatedWizardStep extends TWizardStep implements INamingContainer * Creates child controls.
* This method mainly instantiates the content template, if any.
*/
- protected function createChildControls()
+ public function createChildControls()
{
$this->getControls()->clear();
if($this->_contentTemplate)
|