@@ -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 @@ |
||
| 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,12 +1,12 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * TActiveFileUpload.php |
|
| 4 | - * |
|
| 5 | - * @author Bradley Booms <[email protected]> |
|
| 6 | - * @author Christophe Boulain <[email protected]> |
|
| 7 | - * @author Gabor Berczi <[email protected]> (issue 349 remote vulnerability fix) |
|
| 8 | - * @package System.Web.UI.ActiveControls |
|
| 9 | - */ |
|
| 3 | + * TActiveFileUpload.php |
|
| 4 | + * |
|
| 5 | + * @author Bradley Booms <[email protected]> |
|
| 6 | + * @author Christophe Boulain <[email protected]> |
|
| 7 | + * @author Gabor Berczi <[email protected]> (issue 349 remote vulnerability fix) |
|
| 8 | + * @package System.Web.UI.ActiveControls |
|
| 9 | + */ |
|
| 10 | 10 | |
| 11 | 11 | /** |
| 12 | 12 | * Load TActiveControlAdapter and TFileUpload. |
@@ -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. |
@@ -60,8 +60,8 @@ |
||
| 60 | 60 | * @param THtmlWriter the writer used for the rendering purpose |
| 61 | 61 | */ |
| 62 | 62 | protected function addAttributesToRender($writer) { |
| 63 | - $writer->addAttribute('id',$this->getClientID()); |
|
| 64 | - parent::addAttributesToRender($writer); |
|
| 63 | + $writer->addAttribute('id',$this->getClientID()); |
|
| 64 | + parent::addAttributesToRender($writer); |
|
| 65 | 65 | } |
| 66 | 66 | |
| 67 | 67 | /** |
@@ -116,7 +116,7 @@ |
||
| 116 | 116 | && $this->getPage()->getClientSupportsJavaScript()) |
| 117 | 117 | { |
| 118 | 118 | $this->getActiveControl()->registerCallbackClientScript( |
| 119 | - $this->getClientClassName(), $this->getPostBackOptions()); |
|
| 119 | + $this->getClientClassName(), $this->getPostBackOptions()); |
|
| 120 | 120 | } |
| 121 | 121 | } |
| 122 | 122 | |
@@ -167,7 +167,7 @@ discard block |
||
| 167 | 167 | { |
| 168 | 168 | /** |
| 169 | 169 | * '<!--.*?--!>' - template comments |
| 170 | - * '<!--.*?-->' - HTML comments |
|
| 170 | + * '<!--.*?-->' - HTML comments |
|
| 171 | 171 | * '<\/?com:([\w\.]+)((?:\s*[\w\.]+\s*=\s*\'.*?\'|\s*[\w\.]+\s*=\s*".*?"|\s*[\w\.]+\s*=\s*<%.*?%>)*)\s*\/?>' - component tags |
| 172 | 172 | * '<\/?prop:([\w\.]+)\s*>' - property tags |
| 173 | 173 | * '<%@\s*((?:\s*[\w\.]+\s*=\s*\'.*?\'|\s*[\w\.]+\s*=\s*".*?")*)\s*%>' - directives |
@@ -1080,15 +1080,15 @@ discard block |
||
| 1080 | 1080 | $component=new ReflectionClass('TComponent'); |
| 1081 | 1081 | $behaviors=$component->getStaticProperties(); |
| 1082 | 1082 | if(!isset($behaviors['_um'])) |
| 1083 | - return false; |
|
| 1083 | + return false; |
|
| 1084 | 1084 | foreach($behaviors['_um'] as $name=>$list) |
| 1085 | 1085 | { |
| 1086 | - if(strtolower($class->getShortName())!==$name && !$class->isSubclassOf($name)) continue; |
|
| 1087 | - foreach($list as $param) |
|
| 1088 | - { |
|
| 1089 | - if(method_exists($param->getBehavior(),$method)) |
|
| 1090 | - return true; |
|
| 1091 | - } |
|
| 1086 | + if(strtolower($class->getShortName())!==$name && !$class->isSubclassOf($name)) continue; |
|
| 1087 | + foreach($list as $param) |
|
| 1088 | + { |
|
| 1089 | + if(method_exists($param->getBehavior(),$method)) |
|
| 1090 | + return true; |
|
| 1091 | + } |
|
| 1092 | 1092 | } |
| 1093 | 1093 | return false; |
| 1094 | 1094 | } |