diff options
Diffstat (limited to 'framework/Web/UI/WebControls/TWebControl.php')
| -rw-r--r-- | framework/Web/UI/WebControls/TWebControl.php | 16 | 
1 files changed, 8 insertions, 8 deletions
diff --git a/framework/Web/UI/WebControls/TWebControl.php b/framework/Web/UI/WebControls/TWebControl.php index 0da4d88c..43e590fb 100644 --- a/framework/Web/UI/WebControls/TWebControl.php +++ b/framework/Web/UI/WebControls/TWebControl.php @@ -4,7 +4,7 @@   *   * @author Qiang Xue <qiang.xue@gmail.com>   * @link http://www.pradosoft.com/ - * @copyright Copyright © 2005-2013 PradoSoft + * @copyright Copyright © 2005-2014 PradoSoft   * @license http://www.pradosoft.com/license/   * @version $Id: TWebControl.php 3245 2013-01-07 20:23:32Z ctrlaltca $   * @package System.Web.UI.WebControls @@ -45,12 +45,12 @@ class TWebControl extends TControl implements IStyleable  	 *	@var boolean ensures the inclusion the id in the tag rendering.  	 */  	private $_ensureid=false; -	 +  	/**  	 *	@var TWebControlDecorator this render things before and after both the open and close tag  	 */  	protected $_decorator; -	 +  	/**  	 * Subclasses can override getEnsureId or just set this property.  eg. If your subclass @@ -80,7 +80,7 @@ class TWebControl extends TControl implements IStyleable  			$this->_decorator = Prado::createComponent('TWebControlDecorator', $this);  		return $this->_decorator;  	} -	 +  	/**  	 * Copies basic control attributes from another control.  	 * Properties including AccessKey, ToolTip, TabIndex, Enabled @@ -397,10 +397,10 @@ class TWebControl extends TControl implements IStyleable  	{  		$this->getStyle()->setWidth($value);  	} -	 +  	/** -	 * If your subclass overrides the onPreRender method be sure to call  +	 * If your subclass overrides the onPreRender method be sure to call  	 * this method through parent::onPreRender($param); so your sub-class can be decorated,  	 * among other things.  	 * @param TEventParameter event parameter to be passed to the event handlers @@ -408,7 +408,7 @@ class TWebControl extends TControl implements IStyleable  	public function onPreRender($param) {  		if($decorator = $this->getDecorator(false))  			$decorator->instantiate(); -		 +  		parent::onPreRender($param);  	} @@ -494,7 +494,7 @@ class TWebControl extends TControl implements IStyleable  			$decorator->renderPostContentsText($writer);  			$writer->renderEndTag();  			$decorator->renderPostTagText($writer); -		} else  +		} else  			$writer->renderEndTag($writer);  	}  }  | 
