From 86720f6bcc405b555b7be5cf45e9ccd42fb8cf51 Mon Sep 17 00:00:00 2001 From: xue <> Date: Sun, 30 Apr 2006 01:19:34 +0000 Subject: changed TControl::createChildControls() to public. --- framework/Web/UI/TControl.php | 2 +- framework/Web/UI/TTemplateControl.php | 2 +- framework/Web/UI/WebControls/TWizard.php | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'framework') 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) -- cgit v1.2.3