@@ -303,15 +303,15 @@ |
||
303 | 303 | |
304 | 304 | $this->setAdapter(new TActivePageAdapter($this)); |
305 | 305 | |
306 | - $callbackEventParameter = $this->getRequest()->itemAt(TPage::FIELD_CALLBACK_PARAMETER); |
|
307 | - if(strlen($callbackEventParameter) > 0) |
|
308 | - $this->_postData[TPage::FIELD_CALLBACK_PARAMETER]=TJavaScript::jsonDecode((string)$callbackEventParameter); |
|
309 | - |
|
310 | - // Decode Callback postData from UTF-8 to current Charset |
|
311 | - if (($g=$this->getApplication()->getGlobalization(false))!==null && |
|
312 | - strtoupper($enc=$g->getCharset())!='UTF-8') |
|
313 | - foreach ($this->_postData as $k=>$v) |
|
314 | - $this->_postData[$k]=self::decodeUTF8($v, $enc); |
|
306 | + $callbackEventParameter = $this->getRequest()->itemAt(TPage::FIELD_CALLBACK_PARAMETER); |
|
307 | + if(strlen($callbackEventParameter) > 0) |
|
308 | + $this->_postData[TPage::FIELD_CALLBACK_PARAMETER]=TJavaScript::jsonDecode((string)$callbackEventParameter); |
|
309 | + |
|
310 | + // Decode Callback postData from UTF-8 to current Charset |
|
311 | + if (($g=$this->getApplication()->getGlobalization(false))!==null && |
|
312 | + strtoupper($enc=$g->getCharset())!='UTF-8') |
|
313 | + foreach ($this->_postData as $k=>$v) |
|
314 | + $this->_postData[$k]=self::decodeUTF8($v, $enc); |
|
315 | 315 | |
316 | 316 | Prado::trace("Page onPreInit()",'System.Web.UI.TPage'); |
317 | 317 | $this->onPreInit(null); |
@@ -1,13 +1,13 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * TJuiDroppable class file. |
|
4 | - * |
|
5 | - * @author Fabio Bas <ctrlaltca[at]gmail[dot]com> |
|
6 | - * @link https://github.com/pradosoft/prado |
|
7 | - * @copyright Copyright © 2013-2015 PradoSoft |
|
8 | - * @license https://github.com/pradosoft/prado/blob/master/COPYRIGHT |
|
9 | - * @package System.Web.UI.JuiControls |
|
10 | - */ |
|
3 | + * TJuiDroppable class file. |
|
4 | + * |
|
5 | + * @author Fabio Bas <ctrlaltca[at]gmail[dot]com> |
|
6 | + * @link https://github.com/pradosoft/prado |
|
7 | + * @copyright Copyright © 2013-2015 PradoSoft |
|
8 | + * @license https://github.com/pradosoft/prado/blob/master/COPYRIGHT |
|
9 | + * @package System.Web.UI.JuiControls |
|
10 | + */ |
|
11 | 11 | |
12 | 12 | Prado::using('System.Web.UI.JuiControls.TJuiControlAdapter'); |
13 | 13 | Prado::using('System.Web.UI.ActiveControls.TActivePanel'); |
@@ -1,13 +1,13 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * TJuiSortable class file. |
|
4 | - * |
|
5 | - * @author Fabio Bas <ctrlaltca[at]gmail[dot]com> |
|
6 | - * @link https://github.com/pradosoft/prado |
|
7 | - * @copyright Copyright © 2013-2015 PradoSoft |
|
8 | - * @license https://github.com/pradosoft/prado/blob/master/COPYRIGHT |
|
9 | - * @package System.Web.UI.JuiControls |
|
10 | - */ |
|
3 | + * TJuiSortable class file. |
|
4 | + * |
|
5 | + * @author Fabio Bas <ctrlaltca[at]gmail[dot]com> |
|
6 | + * @link https://github.com/pradosoft/prado |
|
7 | + * @copyright Copyright © 2013-2015 PradoSoft |
|
8 | + * @license https://github.com/pradosoft/prado/blob/master/COPYRIGHT |
|
9 | + * @package System.Web.UI.JuiControls |
|
10 | + */ |
|
11 | 11 | |
12 | 12 | Prado::using('System.Web.UI.JuiControls.TJuiControlAdapter'); |
13 | 13 | Prado::using('System.Web.UI.ActiveControls.TActivePanel'); |
@@ -1,13 +1,13 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * TJuiControlOptions class file. |
|
4 | - * |
|
5 | - * @author Fabio Bas <[email protected]> |
|
6 | - * @link https://github.com/pradosoft/prado |
|
7 | - * @copyright Copyright © 2013-2015 PradoSoft |
|
8 | - * @license https://github.com/pradosoft/prado/blob/master/COPYRIGHT |
|
9 | - * @package System.Web.UI.JuiControls |
|
10 | - */ |
|
3 | + * TJuiControlOptions class file. |
|
4 | + * |
|
5 | + * @author Fabio Bas <[email protected]> |
|
6 | + * @link https://github.com/pradosoft/prado |
|
7 | + * @copyright Copyright © 2013-2015 PradoSoft |
|
8 | + * @license https://github.com/pradosoft/prado/blob/master/COPYRIGHT |
|
9 | + * @package System.Web.UI.JuiControls |
|
10 | + */ |
|
11 | 11 | |
12 | 12 | /** |
13 | 13 | * IJuiOptions interface |
@@ -61,7 +61,7 @@ discard block |
||
61 | 61 | */ |
62 | 62 | public function __construct($control) |
63 | 63 | { |
64 | - $this->setControl($control); |
|
64 | + $this->setControl($control); |
|
65 | 65 | } |
66 | 66 | |
67 | 67 | /** |
@@ -72,7 +72,7 @@ discard block |
||
72 | 72 | public function setControl($control) |
73 | 73 | { |
74 | 74 | if(!$control instanceof IJuiOptions) |
75 | - throw new THttpException(500,'juioptions_control_invalid',$control->ID); |
|
75 | + throw new THttpException(500,'juioptions_control_invalid',$control->ID); |
|
76 | 76 | $this->_control=$control; |
77 | 77 | } |
78 | 78 |
@@ -1,13 +1,13 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * TJuiDraggable class file. |
|
4 | - * |
|
5 | - * @author Fabio Bas <ctrlaltca[at]gmail[dot]com> |
|
6 | - * @link https://github.com/pradosoft/prado |
|
7 | - * @copyright Copyright © 2013-2015 PradoSoft |
|
8 | - * @license https://github.com/pradosoft/prado/blob/master/COPYRIGHT |
|
9 | - * @package System.Web.UI.JuiControls |
|
10 | - */ |
|
3 | + * TJuiDraggable class file. |
|
4 | + * |
|
5 | + * @author Fabio Bas <ctrlaltca[at]gmail[dot]com> |
|
6 | + * @link https://github.com/pradosoft/prado |
|
7 | + * @copyright Copyright © 2013-2015 PradoSoft |
|
8 | + * @license https://github.com/pradosoft/prado/blob/master/COPYRIGHT |
|
9 | + * @package System.Web.UI.JuiControls |
|
10 | + */ |
|
11 | 11 | |
12 | 12 | Prado::using('System.Web.UI.JuiControls.TJuiControlAdapter'); |
13 | 13 | Prado::using('System.Web.UI.ActiveControls.TActivePanel'); |
@@ -1,13 +1,13 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * TDropContainer class file |
|
4 | - * |
|
5 | - * @author Christophe BOULAIN ([email protected]) |
|
6 | - * @copyright Copyright © 2008, PradoSoft |
|
7 | - * @license https://github.com/pradosoft/prado/blob/master/COPYRIGHT |
|
8 | - * @license https://github.com/pradosoft/prado/blob/master/COPYRIGHT |
|
9 | - * @package System.Web.UI.ActiveControls |
|
10 | - */ |
|
3 | + * TDropContainer class file |
|
4 | + * |
|
5 | + * @author Christophe BOULAIN ([email protected]) |
|
6 | + * @copyright Copyright © 2008, PradoSoft |
|
7 | + * @license https://github.com/pradosoft/prado/blob/master/COPYRIGHT |
|
8 | + * @license https://github.com/pradosoft/prado/blob/master/COPYRIGHT |
|
9 | + * @package System.Web.UI.ActiveControls |
|
10 | + */ |
|
11 | 11 | |
12 | 12 | /** |
13 | 13 | * Load active control adapter. |
@@ -32,8 +32,8 @@ |
||
32 | 32 | |
33 | 33 | /** |
34 | 34 | * @return boolean a value indicating whether an automatic postback to the server |
35 | - * will occur whenever the user modifies the text in the TActiveDatePicker control and |
|
36 | - * then tabs out of the component. Defaults to true. |
|
35 | + * will occur whenever the user modifies the text in the TActiveDatePicker control and |
|
36 | + * then tabs out of the component. Defaults to true. |
|
37 | 37 | */ |
38 | 38 | public function getAutoPostBack() |
39 | 39 | { |
@@ -244,8 +244,8 @@ |
||
244 | 244 | class TActiveTableRowEventParameter extends TCallbackEventParameter |
245 | 245 | { |
246 | 246 | /** |
247 | - * @var integer the zero-based index of the row. |
|
248 | - */ |
|
247 | + * @var integer the zero-based index of the row. |
|
248 | + */ |
|
249 | 249 | private $_selectedRowIndex = -1; |
250 | 250 | |
251 | 251 | /** |
@@ -22,7 +22,7 @@ |
||
22 | 22 | */ |
23 | 23 | class TActiveHiddenField extends THiddenField implements ICallbackEventHandler, IActiveControl |
24 | 24 | { |
25 | - /** |
|
25 | + /** |
|
26 | 26 | * Creates a new callback control, sets the adapter to |
27 | 27 | * TActiveControlAdapter. If you override this class, be sure to set the |
28 | 28 | * adapter appropriately by, for example, by calling this constructor. |