Completed
Push — master ( d34386...e5cdd3 )
by Manish
116:42 queued 59:07
created
dhtmlxSuite_v50_std/samples/dhtmlxList/common/connector/db_common.php 2 patches
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -499,6 +499,10 @@
 block discarded – undo
499 499
         @return
500 500
             list of data fields ( ready to be used in SQL query )
501 501
     */
502
+
503
+    /**
504
+     * @param DBDataWrapper $db
505
+     */
502 506
     public function db_names_list($db)
503 507
     {
504 508
         $out = [];
Please login to merge, or discard this patch.
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -9,19 +9,19 @@
 block discarded – undo
9 9
 **/
10 10
 class DataRequestConfig
11 11
 {
12
-    private $filters;    //!< array of filtering rules
13
-    private $relation = false;    //!< ID or other element used for linking hierarchy
14
-    private $sort_by;    //!< sorting field
15
-    private $start;    //!< start of requested data
16
-    private $count;    //!< length of requested data
12
+    private $filters; //!< array of filtering rules
13
+    private $relation = false; //!< ID or other element used for linking hierarchy
14
+    private $sort_by; //!< sorting field
15
+    private $start; //!< start of requested data
16
+    private $count; //!< length of requested data
17 17
 
18 18
     private $order = false;
19 19
     private $user;
20 20
     private $version;
21 21
 
22 22
     //for render_sql
23
-    private $source;    //!< souce table or another source destination
24
-    private $fieldset;    //!< set of data, which need to be retrieved from source
23
+    private $source; //!< souce table or another source destination
24
+    private $fieldset; //!< set of data, which need to be retrieved from source
25 25
 
26 26
     /*! constructor
27 27
 
Please login to merge, or discard this patch.
plugins/dhtmlxSuite_v50_std/samples/dhtmlxList/common/connector/tools.php 2 patches
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -67,6 +67,10 @@
 block discarded – undo
67 67
         self::$eventsStatic[$name][] = $method;
68 68
     }
69 69
 
70
+    /**
71
+     * @param string $name
72
+     * @param Connector $method
73
+     */
70 74
     public static function trigger_static($name, $method)
71 75
     {
72 76
         $arg_list = func_get_args();
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -137,7 +137,7 @@
 block discarded – undo
137 137
 **/
138 138
 class AccessMaster
139 139
 {
140
-    private $rules,$local;
140
+    private $rules, $local;
141 141
 
142 142
     /*! constructor
143 143
 
Please login to merge, or discard this patch.
dhtmlxSuite_v50_std/samples/dhtmlxList/common/connector/xss_filter.php 3 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -190,6 +190,9 @@
 block discarded – undo
190 190
         die();
191 191
     }
192 192
 
193
+    /**
194
+     * @param boolean $edit
195
+     */
193 196
     public static function checkCSRF($edit)
194 197
     {
195 198
         if (self::$security_key) {
Please login to merge, or discard this patch.
Indentation   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -121,19 +121,19 @@
 block discarded – undo
121 121
         if (class_exists('tidy')) {
122 122
             $tidy = new tidy();
123 123
             $tidyOptions = ['output-xhtml'                     => true,
124
-                                 'show-body-only'              => true,
125
-                                 'clean'                       => true,
126
-                                 'wrap'                        => '350',
127
-                                 'indent'                      => true,
128
-                                 'indent-spaces'               => 1,
129
-                                 'ascii-chars'                 => false,
130
-                                 'wrap-attributes'             => false,
131
-                                 'alt-text'                    => '',
132
-                                 'doctype'                     => 'loose',
133
-                                 'numeric-entities'            => true,
134
-                                 'drop-proprietary-attributes' => true,
135
-                                 'enclose-text'                => false,
136
-                                 'enclose-block-text'          => false,
124
+                                    'show-body-only'              => true,
125
+                                    'clean'                       => true,
126
+                                    'wrap'                        => '350',
127
+                                    'indent'                      => true,
128
+                                    'indent-spaces'               => 1,
129
+                                    'ascii-chars'                 => false,
130
+                                    'wrap-attributes'             => false,
131
+                                    'alt-text'                    => '',
132
+                                    'doctype'                     => 'loose',
133
+                                    'numeric-entities'            => true,
134
+                                    'drop-proprietary-attributes' => true,
135
+                                    'enclose-text'                => false,
136
+                                    'enclose-block-text'          => false,
137 137
 
138 138
             ];
139 139
             $tidy->parseString($string, $tidyOptions, 'utf8');
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -177,7 +177,7 @@
 block discarded – undo
177 177
 
178 178
             return self::$filterClass->basic($value);
179 179
         }
180
-        throw new Error('Invalid security mode:' + $mode);
180
+        throw new Error('Invalid security mode:' +$mode);
181 181
     }
182 182
 
183 183
     public static function CSRF_detected()
Please login to merge, or discard this patch.
samples/dhtmlxForm/06_data/php/connector/base_connector.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -355,11 +355,11 @@
 block discarded – undo
355 355
     private $updating = false; //!< flag of update mode ( response for data-update )
356 356
     private $db; //!< db connection resource
357 357
     protected $dload; //!< flag of dyn. loading mode
358
-    public $access;  //!< AccessMaster instance
358
+    public $access; //!< AccessMaster instance
359 359
     protected $data_separator = "\n";
360 360
 
361
-    public $sql;    //DataWrapper instance
362
-    public $event;    //EventMaster instance
361
+    public $sql; //DataWrapper instance
362
+    public $event; //EventMaster instance
363 363
     public $limit = false;
364 364
 
365 365
     private $id_seed = 0; //!< default value, used to generate auto-IDs
Please login to merge, or discard this patch.
dhtmlxSuite_v50_std/samples/dhtmlxForm/06_data/php/connector/db_common.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -9,19 +9,19 @@
 block discarded – undo
9 9
 **/
10 10
 class DataRequestConfig
11 11
 {
12
-    private $filters;    //!< array of filtering rules
13
-    private $relation = false;    //!< ID or other element used for linking hierarchy
14
-    private $sort_by;    //!< sorting field
15
-    private $start;    //!< start of requested data
16
-    private $count;    //!< length of requested data
12
+    private $filters; //!< array of filtering rules
13
+    private $relation = false; //!< ID or other element used for linking hierarchy
14
+    private $sort_by; //!< sorting field
15
+    private $start; //!< start of requested data
16
+    private $count; //!< length of requested data
17 17
 
18 18
     private $order = false;
19 19
     private $user;
20 20
     private $version;
21 21
 
22 22
     //for render_sql
23
-    private $source;    //!< souce table or another source destination
24
-    private $fieldset;    //!< set of data, which need to be retrieved from source
23
+    private $source; //!< souce table or another source destination
24
+    private $fieldset; //!< set of data, which need to be retrieved from source
25 25
 
26 26
     /*! constructor
27 27
 
Please login to merge, or discard this patch.
dhtmlxSuite_v50_std/samples/dhtmlxForm/06_data/php/connector/tools.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -137,7 +137,7 @@
 block discarded – undo
137 137
 **/
138 138
 class AccessMaster
139 139
 {
140
-    private $rules,$local;
140
+    private $rules, $local;
141 141
 
142 142
     /*! constructor
143 143
 
Please login to merge, or discard this patch.
samples/dhtmlxForm/06_data/php/connector/tree_connector.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -229,7 +229,7 @@
 block discarded – undo
229 229
         $this->request->set_limit(0, 0); //netralize default reaction on dyn. loading mode
230 230
     }
231 231
 
232
-   /*! renders self as  xml, starting part
232
+    /*! renders self as  xml, starting part
233 233
     */
234 234
     public function xml_start()
235 235
     {
Please login to merge, or discard this patch.
dhtmlxSuite_v50_std/samples/dhtmlxList/common/connector/dataprocessor.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -440,7 +440,7 @@  discard block
 block discarded – undo
440 440
         $this->status = $status;
441 441
     }
442 442
 
443
-   /*! set id
443
+    /*! set id
444 444
     @param  id
445 445
         id value
446 446
     */
@@ -450,7 +450,7 @@  discard block
 block discarded – undo
450 450
         LogMaster::log('Change id: '.$id);
451 451
     }
452 452
 
453
-   /*! set id
453
+    /*! set id
454 454
     @param  id
455 455
         id value
456 456
     */
Please login to merge, or discard this patch.
samples/dhtmlxTreeView/common/connector/dataprocessor.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -440,7 +440,7 @@  discard block
 block discarded – undo
440 440
         $this->status = $status;
441 441
     }
442 442
 
443
-   /*! set id
443
+    /*! set id
444 444
     @param  id
445 445
         id value
446 446
     */
@@ -450,7 +450,7 @@  discard block
 block discarded – undo
450 450
         LogMaster::log('Change id: '.$id);
451 451
     }
452 452
 
453
-   /*! set id
453
+    /*! set id
454 454
     @param  id
455 455
         id value
456 456
     */
Please login to merge, or discard this patch.