diff options
Diffstat (limited to 'framework')
-rw-r--r-- | framework/TComponent.php | 4 | ||||
-rw-r--r-- | framework/Web/Services/TPageService.php | 1 | ||||
-rw-r--r-- | framework/Web/UI/WebControls/TWebControl.php | 3 |
3 files changed, 2 insertions, 6 deletions
diff --git a/framework/TComponent.php b/framework/TComponent.php index ab04c10f..ece83636 100644 --- a/framework/TComponent.php +++ b/framework/TComponent.php @@ -509,13 +509,13 @@ class TComponent * by calling its {@link IBehavior::attach} method. * @param string the behavior's name. It should uniquely identify this behavior. * @param mixed the behavior configuration. This is passed as the first - * parameter to {@link YiiBase::createComponent} to create the behavior object. + * parameter to {@link PradoBase::createComponent} to create the behavior object. * @return IBehavior the behavior object */ public function attachBehavior($name,$behavior) { if(!($behavior instanceof IBehavior)) - $behavior=Yii::createComponent($behavior); + $behavior=Prado::createComponent($behavior); $behavior->setEnabled(true); $behavior->attach($this); return $this->_m[$name]=$behavior; diff --git a/framework/Web/Services/TPageService.php b/framework/Web/Services/TPageService.php index b0774447..56c53dde 100644 --- a/framework/Web/Services/TPageService.php +++ b/framework/Web/Services/TPageService.php @@ -748,7 +748,6 @@ class TPageConfiguration extends TComponent */
public function __construct($pagePath)
{
- parent::__construct();
$this->_pagePath=$pagePath;
}
diff --git a/framework/Web/UI/WebControls/TWebControl.php b/framework/Web/UI/WebControls/TWebControl.php index f8950ac3..9534f46c 100644 --- a/framework/Web/UI/WebControls/TWebControl.php +++ b/framework/Web/UI/WebControls/TWebControl.php @@ -451,9 +451,6 @@ class TWebControl extends TControl implements IStyleable */ public function render($writer) { - if($this->getIsRenderBlocked()) - return; - $this->renderBeginTag($writer); $this->renderContents($writer); $this->renderEndTag($writer); |