diff options
| author | Fabio Bas <ctrlaltca@gmail.com> | 2014-01-06 22:41:46 +0100 | 
|---|---|---|
| committer | David <ottodavid@gmx.net> | 2014-08-21 17:20:54 +0200 | 
| commit | fc0db15ebce101602fb1cbfa8f6a5cc0f8b58be4 (patch) | |
| tree | 80fff53aa0d9c60612bc2ca690a46194e9c160cf /framework/Web/UI/WebControls | |
| parent | 48577f63f414dc3078abc4bdc93bde932fe666a6 (diff) | |
Happy 2014!
(cherry picked from commit 7915cde127eba2a5143fd45c6b32e81ad91bdfae)
Conflicts:
	framework/Data/Common/Mssql/TMssqlMetaData.php
	framework/Data/Common/Mysql/TMysqlMetaData.php
	framework/Data/Common/Oracle/TOracleMetaData.php
	framework/Data/Common/Pgsql/TPgsqlMetaData.php
	framework/Data/Common/Sqlite/TSqliteMetaData.php
	framework/Data/Common/TDbMetaData.php
	framework/Web/UI/ActiveControls/TCallbackClientScript.php
	framework/Web/UI/JuiControls/TJuiAutoComplete.php
	framework/Web/UI/JuiControls/TJuiControlAdapter.php
	framework/Web/UI/JuiControls/TJuiDraggable.php
	framework/Web/UI/JuiControls/TJuiDroppable.php
	framework/Web/UI/JuiControls/TJuiResizable.php
	framework/Web/UI/JuiControls/TJuiSelectable.php
	framework/Web/UI/JuiControls/TJuiSortable.php
	framework/Wsat/TWsatARGenerator.php
	framework/Wsat/TWsatService.php
	framework/Wsat/pages/TWsatGenerateAR.php
	framework/Wsat/pages/TWsatHome.php
	framework/Wsat/pages/TWsatLogin.php
	framework/Wsat/pages/TWsatScaffolding.php
Diffstat (limited to 'framework/Web/UI/WebControls')
106 files changed, 267 insertions, 267 deletions
diff --git a/framework/Web/UI/WebControls/TAccordion.php b/framework/Web/UI/WebControls/TAccordion.php index dbf761a2..3a0fb1b0 100644 --- a/framework/Web/UI/WebControls/TAccordion.php +++ b/framework/Web/UI/WebControls/TAccordion.php @@ -4,7 +4,7 @@   *   * @author Gabor Berczi, DevWorx Hungary <gabor.berczi@devworx.hu>   * @link http://www.pradosoft.com/ - * @copyright Copyright © 2005-2013 PradoSoft + * @copyright Copyright © 2005-2014 PradoSoft   * @license http://www.pradosoft.com/license/   * @version $Id: TAccordion.php 2915 2011-05-15 16:26:11Z ctrlaltca@gmail.com $   * @package System.Web.UI.WebControls @@ -198,7 +198,7 @@ class TAccordion extends TWebControl implements IPostBackDataHandler  	}  	/** -		* @return string CSS class for the whole accordion control div.  +		* @return string CSS class for the whole accordion control div.  	*/  	public function getCssClass()  	{ @@ -426,15 +426,15 @@ class TAccordion extends TWebControl implements IPostBackDataHandler  	protected function registerStyleSheet()  	{  		$url = $this->getCssUrl(); -		 +  		if($url === '') {  			return;  		} -		 +  		if($url === 'default') {  			$url = $this->getApplication()->getAssetManager()->publishFilePath(dirname(__FILE__).DIRECTORY_SEPARATOR.'assets'.DIRECTORY_SEPARATOR.'accordion.css');  		} -		 +  		if($url !== '') {  			$this->getPage()->getClientScript()->registerStyleSheetFile($url, $url);  		} @@ -540,7 +540,7 @@ class TAccordion extends TWebControl implements IPostBackDataHandler   * Class TAccordionView.   *   * TAccordionView represents a single view in a {@link TAccordion}. - *  + *   * TAccordionView is represented inside the {@link TAccordion} with an header label whose text is defined by   * the {@link setCaption Caption} property; optionally the label can be an hyperlink: use the   * {@link setNavigateUrl NavigateUrl} property to define the destination url. @@ -669,7 +669,7 @@ class TAccordionView extends TWebControl  			$writer->addAttribute('id',$this->getClientID().'_0');  			$style=$this->getActive()?$this->getParent()->getActiveHeaderStyle():$this->getParent()->getHeaderStyle(); -			 +  			$style->addAttributesToRender($writer);  			$writer->renderBeginTag($this->getTagName()); @@ -690,7 +690,7 @@ class TAccordionView extends TWebControl  		$url = $this->getNavigateUrl();  		if(($caption=$this->getCaption())==='')  			$caption=' '; -			 +  		if ($url!='')  			$writer->write("<a href=\"{$url}\">");  		$writer->write("{$caption}"); @@ -703,7 +703,7 @@ class TAccordionView extends TWebControl   * Class TAccordionViewCollection.   *   * TAccordionViewCollection is a collection of {@link TAccordionView} to be used inside a {@link TAccordion}. - *  + *   * @author Gabor Berczi, DevWorx Hungary <gabor.berczi@devworx.hu>   * @version $Id: TAccordion.php 2915 2011-05-15 16:26:11Z ctrlaltca@gmail.com $   * @package System.Web.UI.WebControls diff --git a/framework/Web/UI/WebControls/TBaseDataList.php b/framework/Web/UI/WebControls/TBaseDataList.php index 0ef22752..f5a78c54 100644 --- a/framework/Web/UI/WebControls/TBaseDataList.php +++ b/framework/Web/UI/WebControls/TBaseDataList.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: TBaseDataList.php 3245 2013-01-07 20:23:32Z ctrlaltca $   * @package System.Web.UI.WebControls diff --git a/framework/Web/UI/WebControls/TBaseValidator.php b/framework/Web/UI/WebControls/TBaseValidator.php index 074939c1..8e4adbb9 100644 --- a/framework/Web/UI/WebControls/TBaseValidator.php +++ b/framework/Web/UI/WebControls/TBaseValidator.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: TBaseValidator.php 3319 2013-09-08 20:59:44Z ctrlaltca $   * @package System.Web.UI.WebControls @@ -513,7 +513,7 @@ abstract class TBaseValidator extends TLabel implements IValidator  			$target=$this->getValidationTarget();  			// if the target is not a disabled web control  			if($target===null || -				($target!==null &&  +				($target!==null &&  				!($target instanceof TWebControl && !$target->getEnabled(true))))  			{  				if($this->evaluateIsValid()) diff --git a/framework/Web/UI/WebControls/TBoundColumn.php b/framework/Web/UI/WebControls/TBoundColumn.php index 7534fcbc..8f27bb92 100644 --- a/framework/Web/UI/WebControls/TBoundColumn.php +++ b/framework/Web/UI/WebControls/TBoundColumn.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: TBoundColumn.php 3245 2013-01-07 20:23:32Z ctrlaltca $   * @package System.Web.UI.WebControls diff --git a/framework/Web/UI/WebControls/TBulletedList.php b/framework/Web/UI/WebControls/TBulletedList.php index e5c17b38..1be138f5 100644 --- a/framework/Web/UI/WebControls/TBulletedList.php +++ b/framework/Web/UI/WebControls/TBulletedList.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: TBulletedList.php 3245 2013-01-07 20:23:32Z ctrlaltca $   * @package System.Web.UI.WebControls diff --git a/framework/Web/UI/WebControls/TButton.php b/framework/Web/UI/WebControls/TButton.php index e7d0f5bf..58565ef5 100644 --- a/framework/Web/UI/WebControls/TButton.php +++ b/framework/Web/UI/WebControls/TButton.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: TButton.php 3245 2013-01-07 20:23:32Z ctrlaltca $   * @package System.Web.UI.WebControls diff --git a/framework/Web/UI/WebControls/TButtonColumn.php b/framework/Web/UI/WebControls/TButtonColumn.php index 258fecf2..3a82f11e 100644 --- a/framework/Web/UI/WebControls/TButtonColumn.php +++ b/framework/Web/UI/WebControls/TButtonColumn.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: TButtonColumn.php 3287 2013-04-30 10:10:16Z ctrlaltca $   * @package System.Web.UI.WebControls diff --git a/framework/Web/UI/WebControls/TCaptcha.php b/framework/Web/UI/WebControls/TCaptcha.php index 79f402a5..98ca8861 100644 --- a/framework/Web/UI/WebControls/TCaptcha.php +++ b/framework/Web/UI/WebControls/TCaptcha.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: TCaptcha.php 3245 2013-01-07 20:23:32Z ctrlaltca $   * @package System.Web.UI.WebControls diff --git a/framework/Web/UI/WebControls/TCaptchaValidator.php b/framework/Web/UI/WebControls/TCaptchaValidator.php index c8cc7aea..a7b42b45 100644 --- a/framework/Web/UI/WebControls/TCaptchaValidator.php +++ b/framework/Web/UI/WebControls/TCaptchaValidator.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: TCaptchaValidator.php 3245 2013-01-07 20:23:32Z ctrlaltca $   * @package System.Web.UI.WebControls diff --git a/framework/Web/UI/WebControls/TCheckBox.php b/framework/Web/UI/WebControls/TCheckBox.php index e12946be..15c98e0d 100644 --- a/framework/Web/UI/WebControls/TCheckBox.php +++ b/framework/Web/UI/WebControls/TCheckBox.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: TCheckBox.php 3245 2013-01-07 20:23:32Z ctrlaltca $   * @package System.Web.UI.WebControls @@ -127,7 +127,7 @@ class TCheckBox extends TWebControl implements IPostBackDataHandler, IValidatabl  	}  	/** -	 * Returns true if this control validated successfully.  +	 * Returns true if this control validated successfully.  	 * Defaults to true.  	 * @return bool wether this control validated successfully.  	 */ @@ -412,7 +412,7 @@ class TCheckBox extends TWebControl implements IPostBackDataHandler, IValidatabl      /**       * Check if we need a span tag to surround this control. The span tag will be created if -     * the Text property is set for this control.  +     * the Text property is set for this control.       *       * @return bool wether this control needs a surrounding span tag       */ diff --git a/framework/Web/UI/WebControls/TCheckBoxColumn.php b/framework/Web/UI/WebControls/TCheckBoxColumn.php index c0206676..e10376aa 100644 --- a/framework/Web/UI/WebControls/TCheckBoxColumn.php +++ b/framework/Web/UI/WebControls/TCheckBoxColumn.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: TCheckBoxColumn.php 3245 2013-01-07 20:23:32Z ctrlaltca $   * @package System.Web.UI.WebControls diff --git a/framework/Web/UI/WebControls/TCheckBoxList.php b/framework/Web/UI/WebControls/TCheckBoxList.php index 5122432c..19706927 100644 --- a/framework/Web/UI/WebControls/TCheckBoxList.php +++ b/framework/Web/UI/WebControls/TCheckBoxList.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: TCheckBoxList.php 3245 2013-01-07 20:23:32Z ctrlaltca $   * @package System.Web.UI.WebControls @@ -256,7 +256,7 @@ class TCheckBoxList extends TListControl implements IRepeatInfoUser, INamingCont  	{  		return false;  	} -	 +  	/**  	 * @param boolean whether the control is to be enabled.  	 */ @@ -264,8 +264,8 @@ class TCheckBoxList extends TListControl implements IRepeatInfoUser, INamingCont  	{  		parent::setEnabled($value);  		$value = !TPropertyValue::ensureBoolean($value); -		// if this is an active control,  -		// and it's a callback,  +		// if this is an active control, +		// and it's a callback,  		// and we can update clientside,  		// then update the 'disabled' attribute of the items.  		if(($this instanceof IActiveControl) && @@ -389,14 +389,14 @@ class TCheckBoxList extends TListControl implements IRepeatInfoUser, INamingCont  	/**  	 * Wether the list should be rendered inside a span or not -	 *  +	 *  	 *@return boolean true if we need a span  	 */  	protected function getSpanNeeded ()  	{  		return $this->getRepeatLayout()===TRepeatLayout::Raw;  	} -	 +  	/**  	 * Renders the checkbox list control.  	 * This method overrides the parent implementation. @@ -459,7 +459,7 @@ class TCheckBoxList extends TListControl implements IRepeatInfoUser, INamingCont  	}  	/** -	 * Returns true if this control validated successfully.  +	 * Returns true if this control validated successfully.  	 * Defaults to true.  	 * @return bool wether this control validated successfully.  	 */ @@ -498,6 +498,6 @@ class TCheckBoxList extends TListControl implements IRepeatInfoUser, INamingCont  		$options['ItemCount'] = $this->getItemCount();  		return $options;  	} -	 +  } diff --git a/framework/Web/UI/WebControls/TClientScript.php b/framework/Web/UI/WebControls/TClientScript.php index f28a507a..75cb30f6 100644 --- a/framework/Web/UI/WebControls/TClientScript.php +++ b/framework/Web/UI/WebControls/TClientScript.php @@ -4,7 +4,7 @@   *   * @author Wei Zhuo <weizhuo[at]gmail[dot]com>   * @link http://www.pradosoft.com/ - * @copyright Copyright © 2005-2013 PradoSoft + * @copyright Copyright © 2005-2014 PradoSoft   * @license http://www.pradosoft.com/license/   * @version $Id: TClientScript.php 3245 2013-01-07 20:23:32Z ctrlaltca $   * @package System.Web.UI.WebControls @@ -38,7 +38,7 @@   * set the {@link setFlushScriptFiles FlushScriptFiles} property to false, so Prado   * can postpone the loading of all the referenced script files further down the page   * generation cycle. - *  + *   * @author Wei Zhuo <weizhuo[at]gmail[dot]com>   * @version $Id: TClientScript.php 3245 2013-01-07 20:23:32Z ctrlaltca $   * @package System.Web.UI.WebControls diff --git a/framework/Web/UI/WebControls/TColorPicker.php b/framework/Web/UI/WebControls/TColorPicker.php index fcb129b9..f1d17e91 100644 --- a/framework/Web/UI/WebControls/TColorPicker.php +++ b/framework/Web/UI/WebControls/TColorPicker.php @@ -4,7 +4,7 @@   *   * @author Wei Zhuo <weizhuo[at]gmail[dot]com>   * @link http://www.pradosoft.com/ - * @copyright Copyright © 2005-2013 PradoSoft + * @copyright Copyright © 2005-2014 PradoSoft   * @license http://www.pradosoft.com/license/   * @version $Id: TColorPicker.php 3245 2013-01-07 20:23:32Z ctrlaltca $   * @package System.Web.UI.WebControls @@ -23,15 +23,15 @@   *  # <b>Simple</b> - Grid with 12 simple colors.   *  # <b>Basic</b> - Grid with the most common 70 colors. This is the default mode.   *  # <b>Full</b> - Full-featured color picker. - *  + *   * The <b>CssClass</b> property can be used to override the CSS class name   * for the color picker panel. The <b>ColorStyle</b> property sets the packages   * styles available. E.g. <b>default</b>. - *  + *   * If the <b>Mode</b> property is set to <b>Full</b>, the color picker panel will   * display an "Ok" and "Cancel" buttons. You can customize the button labels setting the <b>OKButtonText</b>   * and <b>CancelButtonText</b> properties. - *  + *   * @author Wei Zhuo <weizhuo[at]gmail[dot]com>   * @version $Id: TColorPicker.php 3245 2013-01-07 20:23:32Z ctrlaltca $   * @package System.Web.UI.WebControls diff --git a/framework/Web/UI/WebControls/TCompareValidator.php b/framework/Web/UI/WebControls/TCompareValidator.php index eaaa8f51..b42ad4bd 100644 --- a/framework/Web/UI/WebControls/TCompareValidator.php +++ b/framework/Web/UI/WebControls/TCompareValidator.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: TCompareValidator.php 3245 2013-01-07 20:23:32Z ctrlaltca $   * @package System.Web.UI.WebControls diff --git a/framework/Web/UI/WebControls/TConditional.php b/framework/Web/UI/WebControls/TConditional.php index 054e1a76..afd82bbc 100644 --- a/framework/Web/UI/WebControls/TConditional.php +++ b/framework/Web/UI/WebControls/TConditional.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: TConditional.php 3245 2013-01-07 20:23:32Z ctrlaltca $   * @package System.Web.UI.WebControls diff --git a/framework/Web/UI/WebControls/TContent.php b/framework/Web/UI/WebControls/TContent.php index f0a67674..f9a1b72c 100644 --- a/framework/Web/UI/WebControls/TContent.php +++ b/framework/Web/UI/WebControls/TContent.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: TContent.php 3245 2013-01-07 20:23:32Z ctrlaltca $   * @package System.Web.UI.WebControls diff --git a/framework/Web/UI/WebControls/TContentPlaceHolder.php b/framework/Web/UI/WebControls/TContentPlaceHolder.php index d9464fa3..73550f4e 100644 --- a/framework/Web/UI/WebControls/TContentPlaceHolder.php +++ b/framework/Web/UI/WebControls/TContentPlaceHolder.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: TContentPlaceHolder.php 3245 2013-01-07 20:23:32Z ctrlaltca $   * @package System.Web.UI.WebControls diff --git a/framework/Web/UI/WebControls/TCustomValidator.php b/framework/Web/UI/WebControls/TCustomValidator.php index b4987f06..8e2be1eb 100644 --- a/framework/Web/UI/WebControls/TCustomValidator.php +++ b/framework/Web/UI/WebControls/TCustomValidator.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: TCustomValidator.php 3245 2013-01-07 20:23:32Z ctrlaltca $   * @package System.Web.UI.WebControls diff --git a/framework/Web/UI/WebControls/TDataBoundControl.php b/framework/Web/UI/WebControls/TDataBoundControl.php index 08d130c1..b22b86d7 100644 --- a/framework/Web/UI/WebControls/TDataBoundControl.php +++ b/framework/Web/UI/WebControls/TDataBoundControl.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: TDataBoundControl.php 3245 2013-01-07 20:23:32Z ctrlaltca $   * @package System.Web.UI.WebControls diff --git a/framework/Web/UI/WebControls/TDataGrid.php b/framework/Web/UI/WebControls/TDataGrid.php index 249d8108..7603cd62 100644 --- a/framework/Web/UI/WebControls/TDataGrid.php +++ b/framework/Web/UI/WebControls/TDataGrid.php @@ -9,7 +9,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: TDataGrid.php 3245 2013-01-07 20:23:32Z ctrlaltca $   * @package System.Web.UI.WebControls @@ -1233,7 +1233,7 @@ class TDataGrid extends TBaseDataList implements INamingContainer  	 * Depending on the button type, a TLinkButton or a TButton may be created.  	 * If it is enabled (clickable), its command name and parameter will also be set.  	 * Derived classes may override this method to create additional types of buttons, such as TImageButton. -	 * @param mixed the container pager instance of TActiveDatagridPager  +	 * @param mixed the container pager instance of TActiveDatagridPager  	 * @param string button type, either LinkButton or PushButton  	 * @param boolean whether the button should be enabled  	 * @param string caption of the button diff --git a/framework/Web/UI/WebControls/TDataGridColumn.php b/framework/Web/UI/WebControls/TDataGridColumn.php index ad3be81f..0e837597 100644 --- a/framework/Web/UI/WebControls/TDataGridColumn.php +++ b/framework/Web/UI/WebControls/TDataGridColumn.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: TDataGridColumn.php 3245 2013-01-07 20:23:32Z ctrlaltca $   * @package System.Web.UI.WebControls diff --git a/framework/Web/UI/WebControls/TDataGridItemRenderer.php b/framework/Web/UI/WebControls/TDataGridItemRenderer.php index 6e37a739..7836fabf 100644 --- a/framework/Web/UI/WebControls/TDataGridItemRenderer.php +++ b/framework/Web/UI/WebControls/TDataGridItemRenderer.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: TDataGridItemRenderer.php 3245 2013-01-07 20:23:32Z ctrlaltca $   * @package System.Web.UI.WebControls diff --git a/framework/Web/UI/WebControls/TDataGridPagerStyle.php b/framework/Web/UI/WebControls/TDataGridPagerStyle.php index 31c0380b..6b116726 100644 --- a/framework/Web/UI/WebControls/TDataGridPagerStyle.php +++ b/framework/Web/UI/WebControls/TDataGridPagerStyle.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: TDataGridPagerStyle.php 3245 2013-01-07 20:23:32Z ctrlaltca $   * @package System.Web.UI.WebControls diff --git a/framework/Web/UI/WebControls/TDataList.php b/framework/Web/UI/WebControls/TDataList.php index 6b3c4a73..1e5a893b 100644 --- a/framework/Web/UI/WebControls/TDataList.php +++ b/framework/Web/UI/WebControls/TDataList.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: TDataList.php 3245 2013-01-07 20:23:32Z ctrlaltca $   * @package System.Web.UI.WebControls diff --git a/framework/Web/UI/WebControls/TDataListItemRenderer.php b/framework/Web/UI/WebControls/TDataListItemRenderer.php index df63c1f2..c435b7d4 100644 --- a/framework/Web/UI/WebControls/TDataListItemRenderer.php +++ b/framework/Web/UI/WebControls/TDataListItemRenderer.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: TDataListItemRenderer.php 3245 2013-01-07 20:23:32Z ctrlaltca $   * @package System.Web.UI.WebControls diff --git a/framework/Web/UI/WebControls/TDataRenderer.php b/framework/Web/UI/WebControls/TDataRenderer.php index 8bde0152..e19f5b49 100644 --- a/framework/Web/UI/WebControls/TDataRenderer.php +++ b/framework/Web/UI/WebControls/TDataRenderer.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: TDataRenderer.php 3245 2013-01-07 20:23:32Z ctrlaltca $   * @package System.Web.UI.WebControls diff --git a/framework/Web/UI/WebControls/TDataSourceControl.php b/framework/Web/UI/WebControls/TDataSourceControl.php index 93037c03..a9bbbbb2 100644 --- a/framework/Web/UI/WebControls/TDataSourceControl.php +++ b/framework/Web/UI/WebControls/TDataSourceControl.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: TDataSourceControl.php 3245 2013-01-07 20:23:32Z ctrlaltca $   * @package System.Web.UI.WebControls diff --git a/framework/Web/UI/WebControls/TDataSourceView.php b/framework/Web/UI/WebControls/TDataSourceView.php index 1e1ad7a9..44293bb6 100644 --- a/framework/Web/UI/WebControls/TDataSourceView.php +++ b/framework/Web/UI/WebControls/TDataSourceView.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: TDataSourceView.php 3245 2013-01-07 20:23:32Z ctrlaltca $   * @package System.Web.UI.WebControls diff --git a/framework/Web/UI/WebControls/TDataTypeValidator.php b/framework/Web/UI/WebControls/TDataTypeValidator.php index b9ddbf6c..5cf3271b 100644 --- a/framework/Web/UI/WebControls/TDataTypeValidator.php +++ b/framework/Web/UI/WebControls/TDataTypeValidator.php @@ -4,7 +4,7 @@   *   * @author Wei Zhuo <weizhuo[at]gmail[dot]com>   * @link http://www.pradosoft.com/ - * @copyright Copyright © 2005-2013 PradoSoft + * @copyright Copyright © 2005-2014 PradoSoft   * @license http://www.pradosoft.com/license/   * @version $Id: TDataTypeValidator.php 3245 2013-01-07 20:23:32Z ctrlaltca $   * @package System.Web.UI.WebControls diff --git a/framework/Web/UI/WebControls/TDatePicker.php b/framework/Web/UI/WebControls/TDatePicker.php index 0e8d7bda..841fd080 100644 --- a/framework/Web/UI/WebControls/TDatePicker.php +++ b/framework/Web/UI/WebControls/TDatePicker.php @@ -4,7 +4,7 @@   *   * @author Wei Zhuo <weizhuo[at]gmail[dot]com>   * @link http://www.pradosoft.com/ - * @copyright Copyright © 2005-2013 PradoSoft + * @copyright Copyright © 2005-2014 PradoSoft   * @license http://www.pradosoft.com/license/   * @version $Id: TDatePicker.php 3318 2013-09-04 14:04:51Z ctrlaltca $   * @package System.Web.UI.WebControls @@ -276,7 +276,7 @@ class TDatePicker extends TTextBox  	{  		return $this->getViewState('UpToYear', intval(@date('Y'))+10);  	} -	 +  	/**  	 * @param TDatePickerPositionMode calendar UI position  	 */ @@ -902,7 +902,7 @@ class TDatePicker extends TTextBox   * is changed.   * The formatted date according to {@link TDatePicker::getDateFormat DateFormat} is sent   * as parameter to this event - *  + *   * @author Wei Zhuo <weizhuo[at]gmail[dot]com>   * @version $Id: TDatePicker.php 3318 2013-09-04 14:04:51Z ctrlaltca $   * @package System.Web.UI.WebControls diff --git a/framework/Web/UI/WebControls/TDropDownList.php b/framework/Web/UI/WebControls/TDropDownList.php index 8dda857b..79fc2df5 100644 --- a/framework/Web/UI/WebControls/TDropDownList.php +++ b/framework/Web/UI/WebControls/TDropDownList.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: TDropDownList.php 3245 2013-01-07 20:23:32Z ctrlaltca $   * @package System.Web.UI.WebControls @@ -136,7 +136,7 @@ class TDropDownList extends TListControl implements IPostBackDataHandler, IValid  	}  	/** -	 * Returns true if this control validated successfully.  +	 * Returns true if this control validated successfully.  	 * Defaults to true.  	 * @return bool wether this control validated successfully.  	 */ diff --git a/framework/Web/UI/WebControls/TDropDownListColumn.php b/framework/Web/UI/WebControls/TDropDownListColumn.php index 40e07aef..c2ce7a34 100644 --- a/framework/Web/UI/WebControls/TDropDownListColumn.php +++ b/framework/Web/UI/WebControls/TDropDownListColumn.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: TDropDownListColumn.php 3245 2013-01-07 20:23:32Z ctrlaltca $   * @package System.Web.UI.WebControls diff --git a/framework/Web/UI/WebControls/TEditCommandColumn.php b/framework/Web/UI/WebControls/TEditCommandColumn.php index 2f69c001..9bfc5772 100644 --- a/framework/Web/UI/WebControls/TEditCommandColumn.php +++ b/framework/Web/UI/WebControls/TEditCommandColumn.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: TEditCommandColumn.php 3245 2013-01-07 20:23:32Z ctrlaltca $   * @package System.Web.UI.WebControls diff --git a/framework/Web/UI/WebControls/TEmailAddressValidator.php b/framework/Web/UI/WebControls/TEmailAddressValidator.php index dffe912e..a623873a 100644 --- a/framework/Web/UI/WebControls/TEmailAddressValidator.php +++ b/framework/Web/UI/WebControls/TEmailAddressValidator.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: TEmailAddressValidator.php 3283 2013-03-24 10:19:08Z ctrlaltca $   * @package System.Web.UI.WebControls diff --git a/framework/Web/UI/WebControls/TExpression.php b/framework/Web/UI/WebControls/TExpression.php index 3cb1aa8c..3acb8b7e 100644 --- a/framework/Web/UI/WebControls/TExpression.php +++ b/framework/Web/UI/WebControls/TExpression.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: TExpression.php 3245 2013-01-07 20:23:32Z ctrlaltca $   * @package System.Web.UI.WebControls diff --git a/framework/Web/UI/WebControls/TFileUpload.php b/framework/Web/UI/WebControls/TFileUpload.php index c6dc595a..ede64361 100644 --- a/framework/Web/UI/WebControls/TFileUpload.php +++ b/framework/Web/UI/WebControls/TFileUpload.php @@ -4,7 +4,7 @@   *   * @author Marcus Nyeholt <tanus@users.sourceforge.net>, 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: TFileUpload.php 3245 2013-01-07 20:23:32Z ctrlaltca $   * @package System.Web.UI.WebControls @@ -261,7 +261,7 @@ class TFileUpload extends TWebControl implements IPostBackDataHandler, IValidata  	}  	/** -	 * Returns true if this control validated successfully.  +	 * Returns true if this control validated successfully.  	 * Defaults to true.  	 * @return bool wether this control validated successfully.  	 */ diff --git a/framework/Web/UI/WebControls/TFont.php b/framework/Web/UI/WebControls/TFont.php index 12da993b..12e0929c 100644 --- a/framework/Web/UI/WebControls/TFont.php +++ b/framework/Web/UI/WebControls/TFont.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: TFont.php 3245 2013-01-07 20:23:32Z ctrlaltca $   * @package System.Web.UI.WebControls diff --git a/framework/Web/UI/WebControls/THead.php b/framework/Web/UI/WebControls/THead.php index 52ce3013..a05a4067 100644 --- a/framework/Web/UI/WebControls/THead.php +++ b/framework/Web/UI/WebControls/THead.php @@ -4,7 +4,7 @@   *   * @author Marcus Nyeholt <tanus@users.sourceforge.net> and 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: THead.php 3245 2013-01-07 20:23:32Z ctrlaltca $   * @package System.Web.UI diff --git a/framework/Web/UI/WebControls/THeader1.php b/framework/Web/UI/WebControls/THeader1.php index db516679..447b0db3 100644 --- a/framework/Web/UI/WebControls/THeader1.php +++ b/framework/Web/UI/WebControls/THeader1.php @@ -4,7 +4,7 @@   *   * @author Brad Anderson <javalizard@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: THeader1.php 2590 2008-12-10 11:34:24Z carlgmathisen $   * @package System.Web.UI.WebControls @@ -22,9 +22,9 @@   * @package System.Web.UI.WebControls   * @since 3.2a   */ -  -class THeader1 extends THtmlElement {	 -	 + +class THeader1 extends THtmlElement { +  	/**  	 * @return string tag name  	 */ @@ -32,5 +32,5 @@ class THeader1 extends THtmlElement {  	{  		return 'h1';  	} -	 +  } diff --git a/framework/Web/UI/WebControls/THeader2.php b/framework/Web/UI/WebControls/THeader2.php index be1d76ae..13e158d1 100644 --- a/framework/Web/UI/WebControls/THeader2.php +++ b/framework/Web/UI/WebControls/THeader2.php @@ -4,7 +4,7 @@   *   * @author Brad Anderson <javalizard@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: THeader2.php 2590 2008-12-10 11:34:24Z carlgmathisen $   * @package System.Web.UI.WebControls @@ -22,9 +22,9 @@   * @package System.Web.UI.WebControls   * @since 3.2a   */ -  -class THeader2 extends THtmlElement {	 -	 + +class THeader2 extends THtmlElement { +  	/**  	 * @return string tag name  	 */ @@ -32,5 +32,5 @@ class THeader2 extends THtmlElement {  	{  		return 'h2';  	} -	 +  } diff --git a/framework/Web/UI/WebControls/THeader3.php b/framework/Web/UI/WebControls/THeader3.php index ff96a190..bdceba36 100644 --- a/framework/Web/UI/WebControls/THeader3.php +++ b/framework/Web/UI/WebControls/THeader3.php @@ -4,7 +4,7 @@   *   * @author Brad Anderson <javalizard@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: THeader3.php 2590 2008-12-10 11:34:24Z carlgmathisen $   * @package System.Web.UI.WebControls @@ -22,9 +22,9 @@   * @package System.Web.UI.WebControls   * @since 3.2a   */ -  -class THeader3 extends THtmlElement {	 -	 + +class THeader3 extends THtmlElement { +  	/**  	 * @return string tag name  	 */ @@ -32,5 +32,5 @@ class THeader3 extends THtmlElement {  	{  		return 'h3';  	} -	 +  } diff --git a/framework/Web/UI/WebControls/THeader4.php b/framework/Web/UI/WebControls/THeader4.php index 1374c700..a821f01e 100644 --- a/framework/Web/UI/WebControls/THeader4.php +++ b/framework/Web/UI/WebControls/THeader4.php @@ -4,7 +4,7 @@   *   * @author Brad Anderson <javalizard@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: THeader4.php 2590 2008-12-10 11:34:24Z carlgmathisen $   * @package System.Web.UI.WebControls @@ -22,9 +22,9 @@   * @package System.Web.UI.WebControls   * @since 3.2   */ -  -class THeader4 extends THtmlElement {	 -	 + +class THeader4 extends THtmlElement { +  	/**  	 * @return string tag name  	 */ @@ -32,5 +32,5 @@ class THeader4 extends THtmlElement {  	{  		return 'h4';  	} -	 +  } diff --git a/framework/Web/UI/WebControls/THeader5.php b/framework/Web/UI/WebControls/THeader5.php index 911e17ed..5f65cf9d 100644 --- a/framework/Web/UI/WebControls/THeader5.php +++ b/framework/Web/UI/WebControls/THeader5.php @@ -4,7 +4,7 @@   *   * @author Brad Anderson <javalizard@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: THeader5.php 2590 2008-12-10 11:34:24Z carlgmathisen $   * @package System.Web.UI.WebControls @@ -22,9 +22,9 @@   * @package System.Web.UI.WebControls   * @since 3.2   */ -  -class THeader5 extends THtmlElement {	 -	 + +class THeader5 extends THtmlElement { +  	/**  	 * @return string tag name  	 */ @@ -32,5 +32,5 @@ class THeader5 extends THtmlElement {  	{  		return 'h5';  	} -	 +  } diff --git a/framework/Web/UI/WebControls/THeader6.php b/framework/Web/UI/WebControls/THeader6.php index a2891c3f..a15077e5 100644 --- a/framework/Web/UI/WebControls/THeader6.php +++ b/framework/Web/UI/WebControls/THeader6.php @@ -4,7 +4,7 @@   *   * @author Brad Anderson <javalizard@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: THeader6.php 2590 2008-12-10 11:34:24Z carlgmathisen $   * @package System.Web.UI.WebControls @@ -22,9 +22,9 @@   * @package System.Web.UI.WebControls   * @since 3.2   */ -  -class THeader6 extends THtmlElement {	 -	 + +class THeader6 extends THtmlElement { +  	/**  	 * @return string tag name  	 */ @@ -32,5 +32,5 @@ class THeader6 extends THtmlElement {  	{  		return 'h6';  	} -	 +  } diff --git a/framework/Web/UI/WebControls/THiddenField.php b/framework/Web/UI/WebControls/THiddenField.php index 041acdb2..1658dcf3 100644 --- a/framework/Web/UI/WebControls/THiddenField.php +++ b/framework/Web/UI/WebControls/THiddenField.php @@ -4,7 +4,7 @@   *   * @author Qiang Xue <qiang.xue@gmail.com>   * @link http://www.xisc.com/ - * @copyright Copyright © 2005-2013 PradoSoft + * @copyright Copyright © 2005-2014 PradoSoft   * @license http://www.opensource.org/licenses/bsd-license.php BSD License   * @version $Id: THiddenField.php 3245 2013-01-07 20:23:32Z ctrlaltca $   * @package System.Web.UI.WebControls @@ -113,7 +113,7 @@ class THiddenField extends TControl implements IPostBackDataHandler, IValidatabl  	}  	/** -	 * Returns true if this control validated successfully.  +	 * Returns true if this control validated successfully.  	 * Defaults to true.  	 * @return bool wether this control validated successfully.  	 */ diff --git a/framework/Web/UI/WebControls/THtmlArea.php b/framework/Web/UI/WebControls/THtmlArea.php index 9d9ff3fa..c0aa223d 100644 --- a/framework/Web/UI/WebControls/THtmlArea.php +++ b/framework/Web/UI/WebControls/THtmlArea.php @@ -4,7 +4,7 @@   *   * @author Wei Zhuo <weizhuo[at]gmail[dot]com>   * @link http://www.pradosoft.com/ - * @copyright Copyright © 2005-2013 PradoSoft + * @copyright Copyright © 2005-2014 PradoSoft   * @license http://www.pradosoft.com/license/   * @version $Id: THtmlArea.php 3245 2013-01-07 20:23:32Z ctrlaltca $   * @package System.Web.UI.WebControls @@ -491,7 +491,7 @@ class THtmlArea extends TTextBox  			if(count($option) == 2)  			{  				$value=trim(trim($option[1]),"'\""); -				if (($s=strtolower($value))==='false')  +				if (($s=strtolower($value))==='false')  					$value=false;  				elseif ($s==='true')  					$value=true; diff --git a/framework/Web/UI/WebControls/THtmlArea4.php b/framework/Web/UI/WebControls/THtmlArea4.php index f98c2ddf..f175c07e 100644 --- a/framework/Web/UI/WebControls/THtmlArea4.php +++ b/framework/Web/UI/WebControls/THtmlArea4.php @@ -4,7 +4,7 @@   *   * @author Fabio Bas <ctrlaltca[at]gmail[dot]com>   * @link http://www.pradosoft.com/ - * @copyright Copyright © 2005-2013 PradoSoft + * @copyright Copyright © 2005-2014 PradoSoft   * @license http://www.pradosoft.com/license/   * @version $Id: THtmlArea4.php 3245 2013-01-07 20:23:32Z ctrlaltca $   * @package System.Web.UI.WebControls @@ -20,7 +20,7 @@ Prado::using('System.Web.UI.WebControls.TTextBox');   *   * THtmlArea4 wraps the visual editing functionalities provided by the   * version 4 of TinyMCE project {@link http://tinymce.com/}. It has been - * developed as a plug'n'play substitute for {@link THtmlArea}, that is  + * developed as a plug'n'play substitute for {@link THtmlArea}, that is   * based on the previous iteration (version 3) of the same project.   * Please note that both components can't be used together in the same page.   * @@ -430,7 +430,7 @@ class THtmlArea4 extends TTextBox  			if(count($option) == 2)  			{  				$value=trim(trim($option[1]),"'\""); -				if (($s=strtolower($value))==='false')  +				if (($s=strtolower($value))==='false')  					$value=false;  				elseif ($s==='true')  					$value=true; diff --git a/framework/Web/UI/WebControls/THtmlElement.php b/framework/Web/UI/WebControls/THtmlElement.php index 5646a6ff..711fe33a 100644 --- a/framework/Web/UI/WebControls/THtmlElement.php +++ b/framework/Web/UI/WebControls/THtmlElement.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: THtmlElement.php 3245 2013-01-07 20:23:32Z ctrlaltca $   * @package System.Web.UI.WebControls @@ -49,18 +49,18 @@ class THtmlElement extends TWebControl  	{  		$this->_tagName=TPropertyValue::ensureString($value);  	} -	 +  	/**  	 *	This is the default tag when no other is specified -	 * @return string the default tag  +	 * @return string the default tag  	 */  	public function getDefaultTagName() {  		return 'span';  	} -	 +  	/**  	 * This tells you if this TagName has deviated from the original -	 * @return boolean true if TagName has deviated from the default.  +	 * @return boolean true if TagName has deviated from the default.  	 */  	public function getIsMutated() {  		return $this->_tagName !== null && $this->_tagName != $this->getDefaultTagName(); diff --git a/framework/Web/UI/WebControls/THyperLink.php b/framework/Web/UI/WebControls/THyperLink.php index 56aa5391..10d8e27b 100644 --- a/framework/Web/UI/WebControls/THyperLink.php +++ b/framework/Web/UI/WebControls/THyperLink.php @@ -4,7 +4,7 @@   *   * @author Qiang Xue <qiang.xue@gmail.com>   * @link http://www.xisc.com/ - * @copyright Copyright © 2005-2013 PradoSoft + * @copyright Copyright © 2005-2014 PradoSoft   * @license http://www.opensource.org/licenses/bsd-license.php BSD License   * @version $Id: THyperLink.php 3286 2013-04-18 06:09:19Z ctrlaltca $   * @package System.Web.UI.WebControls @@ -20,7 +20,7 @@   * the alignment of the image displayed is set by the   * {@link setImageAlign ImageAlign} property and {@link getText Text} is   * displayed as the alternate text of the image. - *  + *   * The link target is specified via the {@link setTarget Target} property.   * If both {@link getImageUrl ImageUrl} and {@link getText Text} are empty,   * the content enclosed within the control tag will be rendered. @@ -145,7 +145,7 @@ class THyperLink extends TWebControl implements IDataRenderer  	{  		return $this->getViewState('ImageHeight','');  	} -	 +  	/**  	 * Sets the height of the image in the THyperLink  	 * @param string height of the image in the THyperLink @@ -171,7 +171,7 @@ class THyperLink extends TWebControl implements IDataRenderer  	{  		$this->setViewState('ImageUrl',$value,'');  	} -	 +  	/**  	 * @return string width of the image in the THyperLink  	 */ @@ -179,7 +179,7 @@ class THyperLink extends TWebControl implements IDataRenderer  	{  		return $this->getViewState('ImageWidth','');  	} -	 +  	/**  	 * Sets the width of the image in the THyperLink  	 * @param string width of the image diff --git a/framework/Web/UI/WebControls/THyperLinkColumn.php b/framework/Web/UI/WebControls/THyperLinkColumn.php index 171accad..55180adf 100644 --- a/framework/Web/UI/WebControls/THyperLinkColumn.php +++ b/framework/Web/UI/WebControls/THyperLinkColumn.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: THyperLinkColumn.php 3245 2013-01-07 20:23:32Z ctrlaltca $   * @package System.Web.UI.WebControls @@ -107,7 +107,7 @@ class THyperLinkColumn extends TDataGridColumn  	{  		return $this->getViewState('ImageHeight','');  	} -	 +  	/**  	 * @param string height of the image in the THyperLink  	 */ @@ -123,7 +123,7 @@ class THyperLinkColumn extends TDataGridColumn  	{  		return $this->getViewState('ImageUrl','');  	} -	 +  	/**  	 * @param string url of the image in the THyperLink  	 */ @@ -131,7 +131,7 @@ class THyperLinkColumn extends TDataGridColumn  	{  		$this->setViewState('ImageUrl',$value,'');  	} -	 +  	/**  	 * @return string width of the image in the THyperLink  	 */ @@ -139,7 +139,7 @@ class THyperLinkColumn extends TDataGridColumn  	{  		return $this->getViewState('ImageWidth','');  	} -	 +  	/**  	 * @param string width of the image in the THyperLink  	 */ diff --git a/framework/Web/UI/WebControls/TImage.php b/framework/Web/UI/WebControls/TImage.php index 04a6d116..620f18d8 100644 --- a/framework/Web/UI/WebControls/TImage.php +++ b/framework/Web/UI/WebControls/TImage.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: TImage.php 3245 2013-01-07 20:23:32Z ctrlaltca $   * @package System.Web.UI.WebControls diff --git a/framework/Web/UI/WebControls/TImageButton.php b/framework/Web/UI/WebControls/TImageButton.php index 0ee52a94..02fb420b 100644 --- a/framework/Web/UI/WebControls/TImageButton.php +++ b/framework/Web/UI/WebControls/TImageButton.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: TImageButton.php 3245 2013-01-07 20:23:32Z ctrlaltca $   * @package System.Web.UI.WebControls diff --git a/framework/Web/UI/WebControls/TImageMap.php b/framework/Web/UI/WebControls/TImageMap.php index 340f5089..2118679e 100644 --- a/framework/Web/UI/WebControls/TImageMap.php +++ b/framework/Web/UI/WebControls/TImageMap.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: TImageMap.php 3245 2013-01-07 20:23:32Z ctrlaltca $   * @package System.Web.UI.WebControls diff --git a/framework/Web/UI/WebControls/TInlineFrame.php b/framework/Web/UI/WebControls/TInlineFrame.php index 2c1371aa..3bb64ecf 100644 --- a/framework/Web/UI/WebControls/TInlineFrame.php +++ b/framework/Web/UI/WebControls/TInlineFrame.php @@ -5,7 +5,7 @@   * @author Jason Ragsdale <jrags@jasrags.net>   * @author Harry Pottash <hpottash@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: TInlineFrame.php 3245 2013-01-07 20:23:32Z ctrlaltca $   * @package System.Web.UI.WebControls diff --git a/framework/Web/UI/WebControls/TItemDataRenderer.php b/framework/Web/UI/WebControls/TItemDataRenderer.php index 2809e046..4abf8478 100644 --- a/framework/Web/UI/WebControls/TItemDataRenderer.php +++ b/framework/Web/UI/WebControls/TItemDataRenderer.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: TItemDataRenderer.php 3245 2013-01-07 20:23:32Z ctrlaltca $   * @package System.Web.UI.WebControls diff --git a/framework/Web/UI/WebControls/TJavascriptLogger.php b/framework/Web/UI/WebControls/TJavascriptLogger.php index a2f1c1c2..780f84f5 100644 --- a/framework/Web/UI/WebControls/TJavascriptLogger.php +++ b/framework/Web/UI/WebControls/TJavascriptLogger.php @@ -4,7 +4,7 @@   *   * @author Wei Zhuo <weizhuo[at]gmail[dot]com>   * @link http://www.pradosoft.com/ - * @copyright Copyright © 2005-2013 PradoSoft + * @copyright Copyright © 2005-2014 PradoSoft   * @license http://www.pradosoft.com/license/   * @version $Id: TJavascriptLogger.php 3245 2013-01-07 20:23:32Z ctrlaltca $   * @package System.Web.UI.WebControls @@ -33,7 +33,7 @@  class TJavascriptLogger extends TWebControl  {  	private static $_keyCodes = array( -		'0'=>48, '1'=>49, '2'=>50, '3'=>51, '4'=>52, '5'=>53, '6'=>54, '7'=>55, '8'=>56, '9'=>57,  +		'0'=>48, '1'=>49, '2'=>50, '3'=>51, '4'=>52, '5'=>53, '6'=>54, '7'=>55, '8'=>56, '9'=>57,  		'a'=>65, 'b'=>66, 'c'=>67, 'd'=>68, 'e'=>69, 'f'=>70, 'g'=>71, 'h'=>72,  		'i'=>73, 'j'=>74, 'k'=>75, 'l'=>76, 'm'=>77, 'n'=>78, 'o'=>79, 'p'=>80,  		'q'=>81, 'r'=>82, 's'=>83, 't'=>84, 'u'=>85, 'v'=>86, 'w'=>87, 'x'=>88, 'y'=>89, 'z'=>90); diff --git a/framework/Web/UI/WebControls/TKeyboard.php b/framework/Web/UI/WebControls/TKeyboard.php index 1260c5af..df714c69 100644 --- a/framework/Web/UI/WebControls/TKeyboard.php +++ b/framework/Web/UI/WebControls/TKeyboard.php @@ -4,7 +4,7 @@   *   * @author Sergey Morkovkin <sergeymorkovkin@mail.ru> and 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: TKeyboard.php 3245 2013-01-07 20:23:32Z ctrlaltca $   * @package System.Web.UI.WebControls diff --git a/framework/Web/UI/WebControls/TLabel.php b/framework/Web/UI/WebControls/TLabel.php index 4552b1a5..119563fd 100644 --- a/framework/Web/UI/WebControls/TLabel.php +++ b/framework/Web/UI/WebControls/TLabel.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: TLabel.php 3245 2013-01-07 20:23:32Z ctrlaltca $   * @package System.Web.UI.WebControls diff --git a/framework/Web/UI/WebControls/TLinkButton.php b/framework/Web/UI/WebControls/TLinkButton.php index a9e6f4cf..d50b95a3 100644 --- a/framework/Web/UI/WebControls/TLinkButton.php +++ b/framework/Web/UI/WebControls/TLinkButton.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: TLinkButton.php 3245 2013-01-07 20:23:32Z ctrlaltca $   * @package System.Web.UI.WebControls diff --git a/framework/Web/UI/WebControls/TListBox.php b/framework/Web/UI/WebControls/TListBox.php index a616a2be..ab59f08a 100644 --- a/framework/Web/UI/WebControls/TListBox.php +++ b/framework/Web/UI/WebControls/TListBox.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: TListBox.php 3245 2013-01-07 20:23:32Z ctrlaltca $   * @package System.Web.UI.WebControls @@ -223,7 +223,7 @@ class TListBox extends TListControl implements IPostBackDataHandler, IValidatabl  	}  	/** -	 * Returns true if this control validated successfully.  +	 * Returns true if this control validated successfully.  	 * Defaults to true.  	 * @return bool wether this control validated successfully.  	 */ diff --git a/framework/Web/UI/WebControls/TListControl.php b/framework/Web/UI/WebControls/TListControl.php index f9fdd77f..74361bdf 100644 --- a/framework/Web/UI/WebControls/TListControl.php +++ b/framework/Web/UI/WebControls/TListControl.php @@ -6,7 +6,7 @@   * @author Robin J. Rogge <rojaro@gmail.com>   * @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: TListControl.php 3288 2013-04-30 10:36:50Z ctrlaltca $   * @package System.Web.UI.WebControls @@ -794,7 +794,7 @@ abstract class TListControl extends TDataBoundControl implements IDataRenderer  	public function renderContents($writer)  	{  		$this->renderPrompt($writer); -		 +  		if($this->_items)  		{  			$writer->writeLine(); diff --git a/framework/Web/UI/WebControls/TListControlValidator.php b/framework/Web/UI/WebControls/TListControlValidator.php index 7d9801ef..b3613d1c 100644 --- a/framework/Web/UI/WebControls/TListControlValidator.php +++ b/framework/Web/UI/WebControls/TListControlValidator.php @@ -4,7 +4,7 @@   *   * @author Wei Zhuo <weizhuo[at]gmail[dot]com>   * @link http://www.pradosoft.com/ - * @copyright Copyright © 2005-2013 PradoSoft + * @copyright Copyright © 2005-2014 PradoSoft   * @license http://www.pradosoft.com/license/   * @version $Id: TListControlValidator.php 3245 2013-01-07 20:23:32Z ctrlaltca $   * @package System.Web.UI.WebControls diff --git a/framework/Web/UI/WebControls/TListItem.php b/framework/Web/UI/WebControls/TListItem.php index e9bfa175..0d9f39eb 100644 --- a/framework/Web/UI/WebControls/TListItem.php +++ b/framework/Web/UI/WebControls/TListItem.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: TListItem.php 3245 2013-01-07 20:23:32Z ctrlaltca $   * @package System.Web.UI.WebControls diff --git a/framework/Web/UI/WebControls/TLiteral.php b/framework/Web/UI/WebControls/TLiteral.php index da195f50..10649b72 100644 --- a/framework/Web/UI/WebControls/TLiteral.php +++ b/framework/Web/UI/WebControls/TLiteral.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: TLiteral.php 3245 2013-01-07 20:23:32Z ctrlaltca $   * @package System.Web.UI.WebControls diff --git a/framework/Web/UI/WebControls/TLiteralColumn.php b/framework/Web/UI/WebControls/TLiteralColumn.php index f40f8f4e..b4c788b8 100644 --- a/framework/Web/UI/WebControls/TLiteralColumn.php +++ b/framework/Web/UI/WebControls/TLiteralColumn.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: TLiteralColumn.php 1397 2006-09-07 07:55:53Z wei $   * @package System.Web.UI.WebControls diff --git a/framework/Web/UI/WebControls/TMarkdown.php b/framework/Web/UI/WebControls/TMarkdown.php index 1a2855eb..a75a7207 100644 --- a/framework/Web/UI/WebControls/TMarkdown.php +++ b/framework/Web/UI/WebControls/TMarkdown.php @@ -4,7 +4,7 @@   *   * @author Wei Zhuo <weizhuo[at]gmail[dot]com>   * @link http://www.pradosoft.com/ - * @copyright Copyright © 2005-2013 PradoSoft + * @copyright Copyright © 2005-2014 PradoSoft   * @license http://www.pradosoft.com/license/   * @version $Id: TMarkdown.php 3245 2013-01-07 20:23:32Z ctrlaltca $   * @package System.Web.UI.WebControls diff --git a/framework/Web/UI/WebControls/TMultiView.php b/framework/Web/UI/WebControls/TMultiView.php index 286f4e95..014ad958 100644 --- a/framework/Web/UI/WebControls/TMultiView.php +++ b/framework/Web/UI/WebControls/TMultiView.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: TMultiView.php 3245 2013-01-07 20:23:32Z ctrlaltca $   * @package System.Web.UI.WebControls diff --git a/framework/Web/UI/WebControls/TOutputCache.php b/framework/Web/UI/WebControls/TOutputCache.php index 89c0c849..2ac78417 100644 --- a/framework/Web/UI/WebControls/TOutputCache.php +++ b/framework/Web/UI/WebControls/TOutputCache.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: TOutputCache.php 3245 2013-01-07 20:23:32Z ctrlaltca $   * @package System.Web.UI.WebControls @@ -481,7 +481,7 @@ class TOutputCache extends TControl implements INamingContainer  			$textwriter = new TTextWriter();  			$multiwriter = new TOutputCacheTextWriterMulti(array($writer->getWriter(),$textwriter));  			$htmlWriter = Prado::createComponent($this->GetResponse()->getHtmlWriterType(), $multiwriter); -			 +  			$stack=$this->getPage()->getCachingStack();  			$stack->push($this);  			parent::render($htmlWriter); @@ -604,7 +604,7 @@ class TOutputCacheTextWriterMulti extends TTextWriter  		//parent::__construct();  		$this->_writers = $writers;  	} -	 +  	public function write($s)  	{  		foreach($this->_writers as $writer) diff --git a/framework/Web/UI/WebControls/TPager.php b/framework/Web/UI/WebControls/TPager.php index 6379fedd..89f24788 100644 --- a/framework/Web/UI/WebControls/TPager.php +++ b/framework/Web/UI/WebControls/TPager.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: TPager.php 3245 2013-01-07 20:23:32Z ctrlaltca $   * @package System.Web.UI.WebControls @@ -34,7 +34,7 @@   *   * Since Prado 3.2.1, you can use the {@link setButtonCssClass ButtonCssClass} property to specify a css class   * that will be applied to each button created by the pager in NextPrev or Numeric mode. - *  + *   * TPager raises an {@link onPageIndexChanged OnPageIndexChanged} event when   * the end-user interacts with it and specifies a new page (e.g. clicking   * on a page button that leads to a new page.) The new page index may be obtained diff --git a/framework/Web/UI/WebControls/TPanel.php b/framework/Web/UI/WebControls/TPanel.php index cf20a864..1411cd0b 100644 --- a/framework/Web/UI/WebControls/TPanel.php +++ b/framework/Web/UI/WebControls/TPanel.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: TPanel.php 3245 2013-01-07 20:23:32Z ctrlaltca $   * @package System.Web.UI.WebControls diff --git a/framework/Web/UI/WebControls/TPanelStyle.php b/framework/Web/UI/WebControls/TPanelStyle.php index cb49b715..06df9f62 100644 --- a/framework/Web/UI/WebControls/TPanelStyle.php +++ b/framework/Web/UI/WebControls/TPanelStyle.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: TPanelStyle.php 3245 2013-01-07 20:23:32Z ctrlaltca $   * @package System.Web.UI.WebControls diff --git a/framework/Web/UI/WebControls/TPlaceHolder.php b/framework/Web/UI/WebControls/TPlaceHolder.php index 020141cf..5c108e2d 100644 --- a/framework/Web/UI/WebControls/TPlaceHolder.php +++ b/framework/Web/UI/WebControls/TPlaceHolder.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: TPlaceHolder.php 3245 2013-01-07 20:23:32Z ctrlaltca $   * @package System.Web.UI.WebControls diff --git a/framework/Web/UI/WebControls/TRadioButton.php b/framework/Web/UI/WebControls/TRadioButton.php index 144704b4..93a89c1c 100644 --- a/framework/Web/UI/WebControls/TRadioButton.php +++ b/framework/Web/UI/WebControls/TRadioButton.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: TRadioButton.php 3245 2013-01-07 20:23:32Z ctrlaltca $   * @package System.Web.UI.WebControls diff --git a/framework/Web/UI/WebControls/TRadioButtonList.php b/framework/Web/UI/WebControls/TRadioButtonList.php index d93caaa2..964a96b0 100644 --- a/framework/Web/UI/WebControls/TRadioButtonList.php +++ b/framework/Web/UI/WebControls/TRadioButtonList.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: TRadioButtonList.php 3245 2013-01-07 20:23:32Z ctrlaltca $   * @package System.Web.UI.WebControls diff --git a/framework/Web/UI/WebControls/TRangeValidator.php b/framework/Web/UI/WebControls/TRangeValidator.php index 8b7550c8..ae906be7 100644 --- a/framework/Web/UI/WebControls/TRangeValidator.php +++ b/framework/Web/UI/WebControls/TRangeValidator.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: TRangeValidator.php 3245 2013-01-07 20:23:32Z ctrlaltca $   * @package System.Web.UI.WebControls diff --git a/framework/Web/UI/WebControls/TRatingList.php b/framework/Web/UI/WebControls/TRatingList.php index f4d4adcf..02bcf909 100644 --- a/framework/Web/UI/WebControls/TRatingList.php +++ b/framework/Web/UI/WebControls/TRatingList.php @@ -4,7 +4,7 @@   *   * @author Wei Zhuo <weizhuo[at]gmail[dot]com>   * @link http://www.pradosoft.com/ - * @copyright Copyright © 2005-2013 PradoSoft + * @copyright Copyright © 2005-2014 PradoSoft   * @license http://www.pradosoft.com/license/   * @version $Id: TRatingList.php 3245 2013-01-07 20:23:32Z ctrlaltca $   * @package System.Web.UI.WebControls @@ -125,7 +125,7 @@ class TRatingList extends TRadioButtonList  		$index = $this->getRatingIndex($value);  		parent::setSelectedIndex($index);  	} -	 +  	public function setSelectedIndex($value)  	{  		$this->setRating($value+1); @@ -213,7 +213,7 @@ class TRatingList extends TRadioButtonList   	{  	   return $this->getViewState('RatingStyle', 'default');   	} -  +   	/**  	 * @return string rating style css class name.   	 */ diff --git a/framework/Web/UI/WebControls/TRegularExpressionValidator.php b/framework/Web/UI/WebControls/TRegularExpressionValidator.php index 890fb56e..0d6e3b3d 100644 --- a/framework/Web/UI/WebControls/TRegularExpressionValidator.php +++ b/framework/Web/UI/WebControls/TRegularExpressionValidator.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: TRegularExpressionValidator.php 3245 2013-01-07 20:23:32Z ctrlaltca $   * @package System.Web.UI.WebControls diff --git a/framework/Web/UI/WebControls/TRepeatInfo.php b/framework/Web/UI/WebControls/TRepeatInfo.php index 929d31e7..cd924ab9 100644 --- a/framework/Web/UI/WebControls/TRepeatInfo.php +++ b/framework/Web/UI/WebControls/TRepeatInfo.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: TRepeatInfo.php 3245 2013-01-07 20:23:32Z ctrlaltca $   * @package System.Web.UI.WebControls diff --git a/framework/Web/UI/WebControls/TRepeater.php b/framework/Web/UI/WebControls/TRepeater.php index c32636fd..146e6af2 100644 --- a/framework/Web/UI/WebControls/TRepeater.php +++ b/framework/Web/UI/WebControls/TRepeater.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: TRepeater.php 3245 2013-01-07 20:23:32Z ctrlaltca $   * @package System.Web.UI.WebControls diff --git a/framework/Web/UI/WebControls/TRepeaterItemRenderer.php b/framework/Web/UI/WebControls/TRepeaterItemRenderer.php index 0e39e765..ccc15d69 100644 --- a/framework/Web/UI/WebControls/TRepeaterItemRenderer.php +++ b/framework/Web/UI/WebControls/TRepeaterItemRenderer.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: TRepeaterItemRenderer.php 3245 2013-01-07 20:23:32Z ctrlaltca $   * @package System.Web.UI.WebControls diff --git a/framework/Web/UI/WebControls/TRequiredFieldValidator.php b/framework/Web/UI/WebControls/TRequiredFieldValidator.php index 7a0bad8c..285bf71a 100644 --- a/framework/Web/UI/WebControls/TRequiredFieldValidator.php +++ b/framework/Web/UI/WebControls/TRequiredFieldValidator.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: TRequiredFieldValidator.php 3288 2013-04-30 10:36:50Z ctrlaltca $   * @package System.Web.UI.WebControls @@ -99,7 +99,7 @@ class TRequiredFieldValidator extends TBaseValidator  		else  			return $this->validateStandardControl($control);  	} -	 +  	private function validateListControl($control)  	{  		$initial = trim($this->getInitialValue()); @@ -111,7 +111,7 @@ class TRequiredFieldValidator extends TBaseValidator  		}  		return $count > 0;  	} -	 +  	private function validateRadioButtonGroup($control)  	{  		$initial = trim($this->getInitialValue()); @@ -127,7 +127,7 @@ class TRequiredFieldValidator extends TBaseValidator  		}  		return false;  	} -	 +  	private function validateStandardControl($control)  	{  		$initial = trim($this->getInitialValue()); diff --git a/framework/Web/UI/WebControls/TSafeHtml.php b/framework/Web/UI/WebControls/TSafeHtml.php index 775086b4..388c7603 100644 --- a/framework/Web/UI/WebControls/TSafeHtml.php +++ b/framework/Web/UI/WebControls/TSafeHtml.php @@ -4,7 +4,7 @@   *   * @author Wei Zhuo <weizhuo[at]gmail[dot]com>   * @link http://www.pradosoft.com/ - * @copyright Copyright © 2005-2013 PradoSoft + * @copyright Copyright © 2005-2014 PradoSoft   * @license http://www.pradosoft.com/license/   * @version $Id: TSafeHtml.php 3245 2013-01-07 20:23:32Z ctrlaltca $   * @package System.Web.UI.WebControls diff --git a/framework/Web/UI/WebControls/TSlider.php b/framework/Web/UI/WebControls/TSlider.php index dcf34bfc..1d77d52d 100644 --- a/framework/Web/UI/WebControls/TSlider.php +++ b/framework/Web/UI/WebControls/TSlider.php @@ -4,7 +4,7 @@   *   * @author Christophe Boulain <Christophe.Boulain@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: TSlider.php 3245 2013-01-07 20:23:32Z ctrlaltca $   * @package System.Web.UI.WebControls @@ -26,10 +26,10 @@   * You can also provide the allowed values by setting the {@link SetValues Values} array.   *   * A 'Progress Indicator' can be displayed within the track with the {@link SetProgressIndicator ProgressIndicator} property. - *  + *   * The TSlider control can be easily customized using CssClasses. You can provide your own css file, using the   * {@link SetCssUrl CssUrl} property. - * The css class for TSlider can be set by the {@link setCssClass CssClass} property. Default value is "Slider HorizontalSlider"  + * The css class for TSlider can be set by the {@link setCssClass CssClass} property. Default value is "Slider HorizontalSlider"   * for an horizontal slider, and "Slider VerticalSlider" for a vertical one.   *   * If {@link SetAutoPostBack AutoPostBack} property is true, postback is sent as soon as the value changed. @@ -145,7 +145,7 @@ class TSlider extends TWebControl implements IPostBackDataHandler, IDataRenderer  	{  		$this->setViewState('StepSize', $value, 1.0);  	} -	 +  	/**  	 * @return boolean wether to display a progress indicator or not. Defaults to true.  	 */ @@ -219,7 +219,7 @@ class TSlider extends TWebControl implements IPostBackDataHandler, IDataRenderer  	{  		$this->setViewState('Values', TPropertyValue::ensureArray($value), array());  	} -	 +  	/**  	 * @return boolean a value indicating whether an automatic postback to the server  	 * will occur whenever the user modifies the slider value. Defaults to false. @@ -351,7 +351,7 @@ class TSlider extends TWebControl implements IPostBackDataHandler, IDataRenderer  			$class=($this->getDirection()==TSliderDirection::Horizontal)?'HorizontalSlider':'VerticalSlider';  			$writer->addAttribute('class', 'Slider '.$class);  		} -		 +  	}  	/** @@ -387,9 +387,9 @@ class TSlider extends TWebControl implements IPostBackDataHandler, IDataRenderer  		}  		$writer->renderEndTag();  		*/ -		 +  		$writer->renderEndTag(); -		 +  		// Render the 'Handle'  		$writer->addAttribute('class', 'Handle');  		$writer->addAttribute('id', $this->getClientID().'_handle'); diff --git a/framework/Web/UI/WebControls/TStatements.php b/framework/Web/UI/WebControls/TStatements.php index 32f98296..1a2beb08 100644 --- a/framework/Web/UI/WebControls/TStatements.php +++ b/framework/Web/UI/WebControls/TStatements.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: TStatements.php 3245 2013-01-07 20:23:32Z ctrlaltca $   * @package System.Web.UI.WebControls diff --git a/framework/Web/UI/WebControls/TStyle.php b/framework/Web/UI/WebControls/TStyle.php index 4ba37d53..5330aab5 100644 --- a/framework/Web/UI/WebControls/TStyle.php +++ b/framework/Web/UI/WebControls/TStyle.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: TStyle.php 3245 2013-01-07 20:23:32Z ctrlaltca $   * @package System.Web.UI.WebControls diff --git a/framework/Web/UI/WebControls/TStyleSheet.php b/framework/Web/UI/WebControls/TStyleSheet.php index 5faf52f0..7a8bff08 100644 --- a/framework/Web/UI/WebControls/TStyleSheet.php +++ b/framework/Web/UI/WebControls/TStyleSheet.php @@ -4,7 +4,7 @@   *   * @author Wei Zhuo <weizhuo[at]gmail[dot]com>   * @link http://www.pradosoft.com/ - * @copyright Copyright © 2005-2013 PradoSoft + * @copyright Copyright © 2005-2014 PradoSoft   * @license http://www.pradosoft.com/license/   * @version $Id: TStyleSheet.php 3245 2013-01-07 20:23:32Z ctrlaltca $   * @package System.Web.UI.WebControls diff --git a/framework/Web/UI/WebControls/TTabPanel.php b/framework/Web/UI/WebControls/TTabPanel.php index 0c6128f1..d3dacbf1 100644 --- a/framework/Web/UI/WebControls/TTabPanel.php +++ b/framework/Web/UI/WebControls/TTabPanel.php @@ -4,7 +4,7 @@   *   * @author Tomasz Wolny <tomasz.wolny@polecam.to.pl> and 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: TTabPanel.php 3245 2013-01-07 20:23:32Z ctrlaltca $   * @package System.Web.UI.WebControls @@ -408,15 +408,15 @@ class TTabPanel extends TWebControl implements IPostBackDataHandler  	protected function registerStyleSheet()  	{  		$url = $this->getCssUrl(); -		 +  		if($url === '') {  			return;  		} -		 +  		if($url === 'default') {  			$url = $this->getApplication()->getAssetManager()->publishFilePath(dirname(__FILE__).DIRECTORY_SEPARATOR.'assets'.DIRECTORY_SEPARATOR.'tabpanel.css');  		} -		 +  		if($url !== '') {  			$this->getPage()->getClientScript()->registerStyleSheetFile($url, $url);  		} diff --git a/framework/Web/UI/WebControls/TTable.php b/framework/Web/UI/WebControls/TTable.php index 5be68cbd..b0763cad 100644 --- a/framework/Web/UI/WebControls/TTable.php +++ b/framework/Web/UI/WebControls/TTable.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: TTable.php 3245 2013-01-07 20:23:32Z ctrlaltca $   * @package System.Web.UI.WebControls diff --git a/framework/Web/UI/WebControls/TTableCell.php b/framework/Web/UI/WebControls/TTableCell.php index 96254e62..65fe6943 100644 --- a/framework/Web/UI/WebControls/TTableCell.php +++ b/framework/Web/UI/WebControls/TTableCell.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: TTableCell.php 3245 2013-01-07 20:23:32Z ctrlaltca $   * @package System.Web.UI.WebControls diff --git a/framework/Web/UI/WebControls/TTableFooterRow.php b/framework/Web/UI/WebControls/TTableFooterRow.php index 46d1a3be..44997ff6 100644 --- a/framework/Web/UI/WebControls/TTableFooterRow.php +++ b/framework/Web/UI/WebControls/TTableFooterRow.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: TTableFooterRow.php 3245 2013-01-07 20:23:32Z ctrlaltca $   * @package System.Web.UI.WebControls diff --git a/framework/Web/UI/WebControls/TTableHeaderCell.php b/framework/Web/UI/WebControls/TTableHeaderCell.php index 80036d41..3f6d29aa 100644 --- a/framework/Web/UI/WebControls/TTableHeaderCell.php +++ b/framework/Web/UI/WebControls/TTableHeaderCell.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: TTableHeaderCell.php 3245 2013-01-07 20:23:32Z ctrlaltca $   * @package System.Web.UI.WebControls diff --git a/framework/Web/UI/WebControls/TTableHeaderRow.php b/framework/Web/UI/WebControls/TTableHeaderRow.php index 166a20e4..1220c539 100644 --- a/framework/Web/UI/WebControls/TTableHeaderRow.php +++ b/framework/Web/UI/WebControls/TTableHeaderRow.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: TTableHeaderRow.php 3245 2013-01-07 20:23:32Z ctrlaltca $   * @package System.Web.UI.WebControls diff --git a/framework/Web/UI/WebControls/TTableRow.php b/framework/Web/UI/WebControls/TTableRow.php index a998e6fb..92eadbe1 100644 --- a/framework/Web/UI/WebControls/TTableRow.php +++ b/framework/Web/UI/WebControls/TTableRow.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: TTableRow.php 3245 2013-01-07 20:23:32Z ctrlaltca $   * @package System.Web.UI.WebControls diff --git a/framework/Web/UI/WebControls/TTemplateColumn.php b/framework/Web/UI/WebControls/TTemplateColumn.php index 173476f2..5fcdbfdf 100644 --- a/framework/Web/UI/WebControls/TTemplateColumn.php +++ b/framework/Web/UI/WebControls/TTemplateColumn.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: TTemplateColumn.php 3245 2013-01-07 20:23:32Z ctrlaltca $   * @package System.Web.UI.WebControls diff --git a/framework/Web/UI/WebControls/TTextBox.php b/framework/Web/UI/WebControls/TTextBox.php index 969d2969..af2f67ac 100644 --- a/framework/Web/UI/WebControls/TTextBox.php +++ b/framework/Web/UI/WebControls/TTextBox.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: TTextBox.php 3245 2013-01-07 20:23:32Z ctrlaltca $   * @package System.Web.UI.WebControls diff --git a/framework/Web/UI/WebControls/TTextHighlighter.php b/framework/Web/UI/WebControls/TTextHighlighter.php index 64878d49..8e3df192 100644 --- a/framework/Web/UI/WebControls/TTextHighlighter.php +++ b/framework/Web/UI/WebControls/TTextHighlighter.php @@ -4,7 +4,7 @@   *   * @author Wei Zhuo<weizhuo[at]gmail[dot]com>   * @link http://www.pradosoft.com/ - * @copyright Copyright © 2005-2013 PradoSoft + * @copyright Copyright © 2005-2014 PradoSoft   * @license http://www.pradosoft.com/license/   * @version $Id: TTextHighlighter.php 3245 2013-01-07 20:23:32Z ctrlaltca $   * @package System.Web.UI.WebControls diff --git a/framework/Web/UI/WebControls/TTextProcessor.php b/framework/Web/UI/WebControls/TTextProcessor.php index e569e780..0c99116d 100644 --- a/framework/Web/UI/WebControls/TTextProcessor.php +++ b/framework/Web/UI/WebControls/TTextProcessor.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: TTextProcessor.php 3245 2013-01-07 20:23:32Z ctrlaltca $   * @package System.Web.UI.WebControls diff --git a/framework/Web/UI/WebControls/TValidationSummary.php b/framework/Web/UI/WebControls/TValidationSummary.php index 00c96c90..fe646f30 100644 --- a/framework/Web/UI/WebControls/TValidationSummary.php +++ b/framework/Web/UI/WebControls/TValidationSummary.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: TValidationSummary.php 3245 2013-01-07 20:23:32Z ctrlaltca $   * @package System.Web.UI.WebControls 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);  	}  } diff --git a/framework/Web/UI/WebControls/TWebControlAdapter.php b/framework/Web/UI/WebControls/TWebControlAdapter.php index 5de15419..4e5567b9 100644 --- a/framework/Web/UI/WebControls/TWebControlAdapter.php +++ b/framework/Web/UI/WebControls/TWebControlAdapter.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: TWebControlAdapter.php 3245 2013-01-07 20:23:32Z ctrlaltca $   * @package System.Web.UI.WebControls diff --git a/framework/Web/UI/WebControls/TWebControlDecorator.php b/framework/Web/UI/WebControls/TWebControlDecorator.php index 9b1c3652..b30c9b50 100644 --- a/framework/Web/UI/WebControls/TWebControlDecorator.php +++ b/framework/Web/UI/WebControls/TWebControlDecorator.php @@ -4,7 +4,7 @@   *   * @author Brad Anderson <javalizard@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: TWebControlDecorator.php 2541 2008-10-21 15:05:13Z qiang.xue $   * @package System.Web.UI.WebControls @@ -13,14 +13,14 @@  /**   * TWebControlDecorator class - *  + *   * A TWebControlDecorator can be applied to a {@link TWebControl} to customize its rendering. - * TWebControlDecorator can add custom html code before and after both the open and close  + * TWebControlDecorator can add custom html code before and after both the open and close   * tag of a {@link TWebControl}.   * The html code can be an user-defined text or an external template file that will be   * instantiated and rendered in place. - *  - * This is an easy way to have your look and feel depend upon the theme instead of writing  + * + * This is an easy way to have your look and feel depend upon the theme instead of writing   * specific html in your templates to achieve your website desires.   * Here is an example of how to code your theme skin:   * <code> @@ -57,34 +57,34 @@   */  class TWebControlDecorator extends TComponent { -	 +  	/**  	 * @var boolean tells if there should only be decoration around the inner content  	 */  	private $_internalonly; -	 +  	/**  	 * @var boolean tells if the decoration uses state in its templates.  If there are no templates -	 * in the instance of the decoration this variable is unused.  +	 * in the instance of the decoration this variable is unused.  	 */  	private $_usestate = false; -	 +  	/**  	 * @var TWebControl the control to decorate  	 */  	private $_control; -	 +  	/**  	 * @var TControl to tell the decorator where to place the outer controls  	 */  	private $_outercontrol; -	 +  	/** -	 * @var boolean This tells if the Templates have been  +	 * @var boolean This tells if the Templates have been  	 */  	private $_addedTemplateDecoration=false; -	 -	 + +  	/**  	 * @var string the text that goes before the open tag  	 */ @@ -101,9 +101,9 @@ class TWebControlDecorator extends TComponent {  	 * @var string the text that goes after the close tag  	 */  	private $_posttagtext = ''; -	 -	 -	 + + +  	/**  	 * @var TTemplate the template that goes before the open tag  	 */ @@ -120,7 +120,7 @@ class TWebControlDecorator extends TComponent {  	 * @var TTemplate the template that goes after the close tag  	 */  	private $_posttagtemplate; -	 +  	/**  	 * Constructor.  	 * Initializes the control . @@ -131,7 +131,7 @@ class TWebControlDecorator extends TComponent {  		$this->_control = $control;  		$this->_internalonly = $onlyinternal;  	} -	 +  	/**  	 * @return boolean if the templates in this decoration need state.  This defaults to false  	 */ @@ -139,23 +139,23 @@ class TWebControlDecorator extends TComponent {  	{  		return $this->_usestate;  	} -	 +  	/** -	 * @param boolean $value true to tell the decoration that the templates need state and should be  +	 * @param boolean $value true to tell the decoration that the templates need state and should be  	 * placed in a control step before the state is saved.  	 */  	public function setUseState($value)  	{  		$this->_usestate = TPropertyValue::ensureBoolean($value);  	} -	 +  	/**  	 * @return string gets the text before the open tag in the TWebControl  	 */  	public function getPreTagText() {  		return $this->_pretagtext;  	} -	 +  	/**  	 * @param string sets the text before the open tag in the TWebControl  	 */ @@ -163,15 +163,15 @@ class TWebControlDecorator extends TComponent {  		if(!$this->_internalonly && !$this->_control->getIsSkinApplied())  			$this->_pretagtext = TPropertyValue::ensureString($value);  	} -	 -	 + +  	/**  	 * @return string the text after the open tag in the TWebControl  	 */  	public function getPreContentsText() {  		return $this->_precontentstext;  	} -	 +  	/**  	 * @param string sets the text after the open tag in the TWebControl  	 */ @@ -179,15 +179,15 @@ class TWebControlDecorator extends TComponent {  		if(!$this->_control->getIsSkinApplied())  			$this->_precontentstext = TPropertyValue::ensureString($value);  	} -	 -	 + +  	/**  	 * @return string the text before the close tag in the TWebControl  	 */  	public function getPostContentsText() {  		return $this->_postcontentstext;  	} -	 +  	/**  	 * @param string sets the text before the close tag in the TWebControl  	 */ @@ -195,15 +195,15 @@ class TWebControlDecorator extends TComponent {  		if(!$this->_control->getIsSkinApplied())  			$this->_postcontentstext = TPropertyValue::ensureString($value);  	} -	 -	 + +  	/**  	 * @return string the text before the close tag in the TWebControl  	 */  	public function getPostTagText() {  		return $this->_posttagtext;  	} -	 +  	/**  	 * @param string sets the text after the close tag in the TWebControl  	 */ @@ -211,15 +211,15 @@ class TWebControlDecorator extends TComponent {  		if(!$this->_internalonly && !$this->_control->getIsSkinApplied())  			$this->_posttagtext = TPropertyValue::ensureString($value);  	} -	 -	 + +  	/**  	 * @return TTemplate|null the template before the open tag in the TWebControl.  Defaults to null.  	 */  	public function getPreTagTemplate() {  		return $this->_pretagtemplate;  	} -	 +  	/**  	 * @param TTemplate sets the template before the open tag in the TWebControl  	 */ @@ -227,15 +227,15 @@ class TWebControlDecorator extends TComponent {  		if(!$this->_internalonly && !$this->_control->getIsSkinApplied())  			$this->_pretagtemplate = $value;  	} -	 -	 + +  	/**  	 * @return TTemplate|null the template after the open tag in the TWebControl.  Defaults to null.  	 */  	public function getPreContentsTemplate() {  		return $this->_precontentstemplate;  	} -	 +  	/**  	 * @param TTemplate sets the template after the open tag in the TWebControl  	 */ @@ -243,15 +243,15 @@ class TWebControlDecorator extends TComponent {  		if(!$this->_control->getIsSkinApplied())  			$this->_precontentstemplate = $value;  	} -	 -	 + +  	/**  	 * @return TTemplate|null the template before the close tag in the TWebControl.  Defaults to null.  	 */  	public function getPostContentsTemplate() {  		return $this->_postcontentstemplate;  	} -	 +  	/**  	 * @param TTemplate sets the template before the close tag in the TWebControl  	 */ @@ -259,15 +259,15 @@ class TWebControlDecorator extends TComponent {  		if(!$this->_control->getIsSkinApplied())  			$this->_postcontentstemplate = $value;  	} -	 -	 + +  	/**  	 * @return TTemplate|null the template after the close tag in the TWebControl.  Defaults to null.  	 */  	public function getPostTagTemplate() {  		return $this->_posttagtemplate;  	} -	 +  	/**  	 * @param TTemplate sets the template before the close tag in the TWebControl  	 */ @@ -275,17 +275,17 @@ class TWebControlDecorator extends TComponent {  		if(!$this->_internalonly && !$this->_control->getIsSkinApplied())  			$this->_posttagtemplate = $value;  	} -	 +  	/** -	 *	this is a framework call.  The Text decoration can't  +	 *	this is a framework call.  The Text decoration can't  	 * influence the object hierarchy because they are rendered into into the writer directly. -	 * This call attaches the ensureTemplateDecoration to the TPage onSaveStateComplete so  +	 * This call attaches the ensureTemplateDecoration to the TPage onSaveStateComplete so  	 * these controls don't have page states.  This is as close to not influencing the page as possible.  	 */  	public function instantiate($outercontrol = null) { -		if($this->getPreTagTemplate() || $this->getPreContentsTemplate() ||  +		if($this->getPreTagTemplate() || $this->getPreContentsTemplate() ||  			$this->getPostContentsTemplate() || $this->getPostTagTemplate()) { -			 +  			$this->_outercontrol = $outercontrol;  			if($this->getUseState())  				$this->ensureTemplateDecoration(); @@ -293,53 +293,53 @@ class TWebControlDecorator extends TComponent {  				$this->_control->getPage()->onSaveStateComplete[] = array($this, 'ensureTemplateDecoration');  		}  	} -	 -	 + +  	/**  	 *	This method places the templates around the open and close tag.  This takes a parameter which is  	 * to specify the control to get the outer template decoration.  If no outer control is specified -	 * @param TComponent this indicates the component or control to get the outer tag elements, just in case it's  +	 * @param TComponent this indicates the component or control to get the outer tag elements, just in case it's  	 * different than attached TWebControl.  If none is provided, the outer templates default to the attached  	 * control  	 * @return boolean returns true if the template decorations have been added  	 */  	public function ensureTemplateDecoration($sender=null, $param=null) { -	 +  		$control = $this->_control;  		$outercontrol = $this->_outercontrol;  		if($outercontrol === null)  			$outercontrol = $control; -			 +  		if($this->_addedTemplateDecoration)  			return $this->_addedTemplateDecoration; -		 +  		$this->_addedTemplateDecoration = true; -		 +  		if($this->getPreContentsTemplate())  		{  			$precontents = Prado::createComponent('TCompositeControl');  			$this->getPreContentsTemplate()->instantiateIn($precontents);  			$control->getControls()->insertAt(0, $precontents);  		} -		 +  		if($this->getPostContentsTemplate())  		{  			$postcontents = Prado::createComponent('TCompositeControl');  			$this->getPostContentsTemplate()->instantiateIn($postcontents);  			$control->getControls()->add($postcontents);  		} -		 +  		if(!$outercontrol->getParent())  			return $this->_addedTemplateDecoration; -		 -		 + +  		if($this->getPreTagTemplate())  		{  			$pretag = Prado::createComponent('TCompositeControl');  			$this->getPreTagTemplate()->instantiateIn($pretag);  			$outercontrol->getParent()->getControls()->insertBefore($outercontrol, $pretag);  		} -		 +  		if($this->getPostTagTemplate())  		{  			$posttag = Prado::createComponent('TCompositeControl'); @@ -348,8 +348,8 @@ class TWebControlDecorator extends TComponent {  		}  		return true;  	} -	 -	 + +  	/**  	 * This method places the pre tag text into the {@link TTextWriter}  	 * @param {@link TTextWriter} the writer to which the text is written @@ -357,7 +357,7 @@ class TWebControlDecorator extends TComponent {  	public function renderPreTagText($writer) {  		$writer->write($this->getPreTagText());  	} -	 +  	/**  	 * This method places the pre contents text into the {@link TTextWriter}  	 * @param {@link TTextWriter} the writer to which the text is written @@ -365,7 +365,7 @@ class TWebControlDecorator extends TComponent {  	public function renderPreContentsText($writer) {  		$writer->write($this->getPreContentsText());  	} -	 +  	/**  	 * This method places the post contents text into the {@link TTextWriter}  	 * @param {@link TTextWriter} the writer to which the text is written @@ -373,7 +373,7 @@ class TWebControlDecorator extends TComponent {  	public function renderPostContentsText($writer) {  		$writer->write($this->getPostContentsText());  	} -	 +  	/**  	 * This method places the post tag text into the {@link TTextWriter}  	 * @param {@link TTextWriter} the writer to which the text is written diff --git a/framework/Web/UI/WebControls/TWizard.php b/framework/Web/UI/WebControls/TWizard.php index 67cbc4e4..18169155 100644 --- a/framework/Web/UI/WebControls/TWizard.php +++ b/framework/Web/UI/WebControls/TWizard.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: TWizard.php 3274 2013-02-15 08:32:25Z ctrlaltca $   * @package System.Web.UI.WebControls diff --git a/framework/Web/UI/WebControls/TWizardNavigationButtonStyle.php b/framework/Web/UI/WebControls/TWizardNavigationButtonStyle.php index f0873df8..06a45b69 100644 --- a/framework/Web/UI/WebControls/TWizardNavigationButtonStyle.php +++ b/framework/Web/UI/WebControls/TWizardNavigationButtonStyle.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 $   * @package System.Web.UI.WebControls diff --git a/framework/Web/UI/WebControls/TXmlTransform.php b/framework/Web/UI/WebControls/TXmlTransform.php index 7b4d5cf7..c32ab440 100644 --- a/framework/Web/UI/WebControls/TXmlTransform.php +++ b/framework/Web/UI/WebControls/TXmlTransform.php @@ -5,7 +5,7 @@   * @author Knut Urdalen <knut.urdalen@gmail.com>   * @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/   * @package System.Web.UI.WebControls   */ diff --git a/framework/Web/UI/WebControls/assets/captcha.php b/framework/Web/UI/WebControls/assets/captcha.php index ac71d696..bffcd6f2 100644 --- a/framework/Web/UI/WebControls/assets/captcha.php +++ b/framework/Web/UI/WebControls/assets/captcha.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: captcha.php 3245 2013-01-07 20:23:32Z ctrlaltca $   * @package System.Web.UI.WebControls.assets @@ -116,7 +116,7 @@ function displayToken($token,$fontSize,$theme)          	imagettftext($image,$size,$angle,$x+2,$y+2,$color,$font,$token[$i]);          imagecolordeallocate($image,$color);      } -	 +  	header('Content-Type: image/png');  	imagepng($image);  	imagedestroy($image);  | 
