Completed
Push — master ( 6f00b4...805ee0 )
by Gino
03:23
created
class/files/classes/ClassFiles.php 1 patch
Doc Comments   +11 added lines, -8 removed lines patch added patch discarded remove patch
@@ -60,6 +60,7 @@  discard block
 block discarded – undo
60 60
      *  @param string $module
61 61
      *  @param string $table
62 62
      *  @param mixed $tables
63
+     * @param string $filename
63 64
      */
64 65
     public function write($module, $table, $tables, $filename)
65 66
     {
@@ -502,7 +503,7 @@  discard block
 block discarded – undo
502 503
      *  @public function getClassHandler
503 504
      *
504 505
      *  @param string $moduleDirname
505
-     *  @param string $tableName
506
+     *  @param string $table
506 507
      *  @param string $fieldId
507 508
      *  @param string $fieldMain
508 509
      *
@@ -594,8 +595,8 @@  discard block
 block discarded – undo
594 595
      *  @public function getClassCounter
595 596
      *
596 597
      *  @param $tableName
597
-     *  @param $fieldId
598
-     *  @param $fieldMain
598
+     *  @param string $fieldId
599
+     *  @param string $fieldMain
599 600
      *
600 601
      *  @return string
601 602
      */
@@ -622,8 +623,8 @@  discard block
 block discarded – undo
622 623
      *  @public function getClassAll
623 624
      *
624 625
      *  @param $tableName
625
-     *  @param $fieldId
626
-     *  @param $fieldMain
626
+     *  @param string $fieldId
627
+     *  @param string $fieldMain
627 628
      *
628 629
      *  @return string
629 630
      */
@@ -650,9 +651,10 @@  discard block
 block discarded – undo
650 651
      *  @public function getClassByCategory
651 652
      *
652 653
      *  @param $tableName
653
-     *  @param $fieldId
654
-     *  @param $fieldMain
654
+     *  @param string $fieldId
655
+     *  @param string $fieldMain
655 656
      *  @param $fieldParent
657
+     * @param string $moduleDirname
656 658
      *
657 659
      *  @return string
658 660
      */
@@ -727,8 +729,9 @@  discard block
 block discarded – undo
727 729
     /**
728 730
      *  @public function getClassGetTableSolenameById
729 731
      *
730
-     *  @param $moduleDirname
732
+     *  @param string $moduleDirname
731 733
      *  @param $table
734
+     * @param string $fieldMain
732 735
      *
733 736
      *  @return string
734 737
      */
Please login to merge, or discard this patch.
class/files/classes/ClassFormElements.php 1 patch
Doc Comments   +70 added lines patch added patch discarded remove patch
@@ -49,6 +49,11 @@  discard block
 block discarded – undo
49 49
      * @param $module
50 50
      * @param $table
51 51
      */
52
+
53
+    /**
54
+     * @param string $module
55
+     * @param string $table
56
+     */
52 57
     public function initForm($module, $table)
53 58
     {
54 59
         $this->setModule($module);
@@ -64,6 +69,10 @@  discard block
 block discarded – undo
64 69
      *
65 70
      * @return string
66 71
      */
72
+
73
+    /**
74
+     * @param string $language
75
+     */
67 76
     private function getXoopsFormText($language, $fieldName, $fieldDefault, $required = 'false')
68 77
     {
69 78
         $tf = TDMCreateFile::getInstance();
@@ -94,6 +103,10 @@  discard block
 block discarded – undo
94 103
      *
95 104
      * @return string
96 105
      */
106
+
107
+    /**
108
+     * @param string $language
109
+     */
97 110
     private function getXoopsFormTextArea($language, $fieldName, $required = 'false')
98 111
     {
99 112
         $tf = TDMCreateFile::getInstance();
@@ -117,6 +130,10 @@  discard block
 block discarded – undo
117 130
      *
118 131
      * @return string
119 132
      */
133
+
134
+    /**
135
+     * @param string $language
136
+     */
120 137
     private function getXoopsFormDhtmlTextArea($language, $moduleDirname, $fieldName, $required = 'false')
121 138
     {
122 139
         $tf = TDMCreateFile::getInstance();
@@ -149,6 +166,10 @@  discard block
 block discarded – undo
149 166
      *
150 167
      * @return string
151 168
      */
169
+
170
+    /**
171
+     * @param string $language
172
+     */
152 173
     private function getXoopsFormCheckBox($language, $tableSoleName, $fieldName, $fieldElementId, $required = 'false')
153 174
     {
154 175
         $tf = TDMCreateFile::getInstance();
@@ -213,6 +234,10 @@  discard block
 block discarded – undo
213 234
      *
214 235
      * @return string
215 236
      */
237
+
238
+    /**
239
+     * @param string $language
240
+     */
216 241
     private function getXoopsFormImageList($language, $moduleDirname, $tableName, $tableSoleName, $fieldName, $required = 'false')
217 242
     {
218 243
         $tf = TDMCreateFile::getInstance();
@@ -264,6 +289,10 @@  discard block
 block discarded – undo
264 289
      *
265 290
      * @return string
266 291
      */
292
+
293
+    /**
294
+     * @param string $language
295
+     */
267 296
     private function getXoopsFormSelectFile($language, $moduleDirname, $fieldName, $required = 'false')
268 297
     {
269 298
         $tf = TDMCreateFile::getInstance();
@@ -316,6 +345,10 @@  discard block
 block discarded – undo
316 345
      *
317 346
      * @return string
318 347
      */
348
+
349
+    /**
350
+     * @param string $language
351
+     */
319 352
     private function getXoopsFormUrlFile($language, $moduleDirname, $fieldName, $fieldDefault, $required = 'false')
320 353
     {
321 354
         $pc = TDMCreatePhpCode::getInstance();
@@ -345,6 +378,10 @@  discard block
 block discarded – undo
345 378
      *
346 379
      * @return string
347 380
      */
381
+
382
+    /**
383
+     * @param string $language
384
+     */
348 385
     private function getXoopsFormUploadImage($language, $moduleDirname, $tableName, $tableSoleName, $fieldName, $required = 'false')
349 386
     {
350 387
         $tf = TDMCreateFile::getInstance();
@@ -396,6 +433,10 @@  discard block
 block discarded – undo
396 433
      *
397 434
      * @return string
398 435
      */
436
+
437
+    /**
438
+     * @param string $language
439
+     */
399 440
     private function getXoopsFormUploadFile($language, $moduleDirname, $tableName, $fieldName, $required = 'false')
400 441
     {
401 442
         $pc = TDMCreatePhpCode::getInstance();
@@ -421,6 +462,10 @@  discard block
 block discarded – undo
421 462
      *
422 463
      * @return string
423 464
      */
465
+
466
+    /**
467
+     * @param string $language
468
+     */
424 469
     private function getXoopsFormColorPicker($language, $moduleDirname, $fieldName, $required = 'false')
425 470
     {
426 471
         $pc = TDMCreatePhpCode::getInstance();
@@ -446,6 +491,10 @@  discard block
 block discarded – undo
446 491
      *
447 492
      * @return string
448 493
      */
494
+
495
+    /**
496
+     * @param string $language
497
+     */
449 498
     private function getXoopsFormSelectBox($language, $moduleDirname, $tableName, $fieldName, $required = 'false')
450 499
     {
451 500
         $tf = TDMCreateFile::getInstance();
@@ -475,6 +524,10 @@  discard block
 block discarded – undo
475 524
      *
476 525
      * @return string
477 526
      */
527
+
528
+    /**
529
+     * @param string $language
530
+     */
478 531
     private function getXoopsFormSelectUser($language, $moduleDirname, $fieldName, $required = 'false')
479 532
     {
480 533
         $pc = TDMCreatePhpCode::getInstance();
@@ -498,6 +551,10 @@  discard block
 block discarded – undo
498 551
      *
499 552
      * @return string
500 553
      */
554
+
555
+    /**
556
+     * @param string $language
557
+     */
501 558
     private function getXoopsFormRadioYN($language, $fieldName, $required = 'false')
502 559
     {
503 560
         $tf = TDMCreateFile::getInstance();
@@ -522,6 +579,10 @@  discard block
 block discarded – undo
522 579
      *
523 580
      * @return string
524 581
      */
582
+
583
+    /**
584
+     * @param string $language
585
+     */
525 586
     private function getXoopsFormTextDateSelect($language, $fieldName, $required = 'false')
526 587
     {
527 588
         $tf = TDMCreateFile::getInstance();
@@ -549,6 +610,10 @@  discard block
 block discarded – undo
549 610
      *
550 611
      * @return string
551 612
      */
613
+
614
+    /**
615
+     * @param string $language
616
+     */
552 617
     private function getXoopsFormTable($language, $moduleDirname, $tableName, $fieldName, $fieldElement, $required = 'false')
553 618
     {
554 619
         $tc = TDMCreateHelper::getInstance();
@@ -583,6 +648,11 @@  discard block
 block discarded – undo
583 648
      *
584 649
      * @return string
585 650
      */
651
+
652
+    /**
653
+     * @param string $language
654
+     * @param string $topicTableName
655
+     */
586 656
     private function getXoopsFormTopic($language, $moduleDirname, $topicTableName, $fieldId, $fieldPid, $fieldMain, $required = 'false')
587 657
     {
588 658
         $tf = TDMCreateFile::getInstance();
Please login to merge, or discard this patch.
class/files/docs/DocsFiles.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -253,7 +253,7 @@
 block discarded – undo
253 253
     *  @param null
254 254
     */
255 255
     /**
256
-     * @return bool|string
256
+     * @return null|string
257 257
      */
258 258
     public function render()
259 259
     {
Please login to merge, or discard this patch.
class/files/include/IncludeComments.php 1 patch
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
     *  @param mixed $table
63 63
     */
64 64
     /**
65
-     * @param $module
65
+     * @param string $module
66 66
      * @param $table
67 67
      */
68 68
     public function write($module, $table)
@@ -77,8 +77,8 @@  discard block
 block discarded – undo
77 77
     *  @param string $filename
78 78
     */
79 79
     /**
80
-     * @param $module
81
-     * @param $filename
80
+     * @param string $module
81
+     * @param string $filename
82 82
      *
83 83
      * @return bool|string
84 84
      */
@@ -101,10 +101,10 @@  discard block
 block discarded – undo
101 101
     *  @param string $filename
102 102
     */
103 103
     /**
104
-     * @param $module
105
-     * @param $filename
104
+     * @param string $module
105
+     * @param string $filename
106 106
      *
107
-     * @return bool|string
107
+     * @return null|string
108 108
      */
109 109
     public function renderCommentsNew($module, $filename)
110 110
     {
Please login to merge, or discard this patch.
class/files/include/IncludeSearch.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -64,9 +64,9 @@
 block discarded – undo
64 64
     *  @param string $filename
65 65
     */
66 66
     /**
67
-     * @param $module
67
+     * @param string $module
68 68
      * @param $table
69
-     * @param $filename
69
+     * @param string $filename
70 70
      */
71 71
     public function write($module, $table, $filename)
72 72
     {
Please login to merge, or discard this patch.
class/files/language/LanguageDefines.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@
 block discarded – undo
100 100
     *  @param string $string
101 101
     */
102 102
     /**
103
-     * @param $string
103
+     * @param string $string
104 104
      *
105 105
      * @return string
106 106
      */
Please login to merge, or discard this patch.
class/files/language/LanguageMain.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -64,9 +64,9 @@  discard block
 block discarded – undo
64 64
     *  @param string $filename
65 65
     */
66 66
     /**
67
-     * @param $module
67
+     * @param string $module
68 68
      * @param $tables
69
-     * @param $filename
69
+     * @param string $filename
70 70
      */
71 71
     public function write($module, $tables, $filename)
72 72
     {
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
     */
83 83
     /**
84 84
      * @param $module
85
-     * @param $language
85
+     * @param string $language
86 86
      *
87 87
      * @return string
88 88
      */
@@ -141,7 +141,7 @@  discard block
 block discarded – undo
141 141
     *  @param string $language
142 142
     */
143 143
     /**
144
-     * @param $language
144
+     * @param string $language
145 145
      *
146 146
      * @return string
147 147
      */
@@ -159,7 +159,7 @@  discard block
 block discarded – undo
159 159
     *  @param null
160 160
     */
161 161
     /**
162
-     * @return bool|string
162
+     * @return null|string
163 163
      */
164 164
     public function render()
165 165
     {
Please login to merge, or discard this patch.
class/files/language/LanguageModinfo.php 1 patch
Doc Comments   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -59,9 +59,9 @@  discard block
 block discarded – undo
59 59
     /**
60 60
      *  @public function write    
61 61
      *
62
-     * @param $module
62
+     * @param string $module
63 63
      * @param $table
64
-     * @param $filename
64
+     * @param string $filename
65 65
      *
66 66
      * @return string
67 67
      */
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
     /**
76 76
      * @private function getLanguageMain     
77 77
      *
78
-     * @param $language
78
+     * @param string $language
79 79
      * @param $module
80 80
      *
81 81
      * @return string
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
      * @private function getLanguageMenu
95 95
      *
96 96
      * @param $module
97
-     * @param $language     
97
+     * @param string $language     
98 98
      *
99 99
      * @return string
100 100
      */
@@ -127,7 +127,7 @@  discard block
 block discarded – undo
127 127
     *  @param $language
128 128
     */
129 129
     /**
130
-     * @param $language
130
+     * @param string $language
131 131
      *
132 132
      * @return string
133 133
      */
@@ -147,7 +147,7 @@  discard block
 block discarded – undo
147 147
     *  @param array $tables
148 148
     */
149 149
     /**
150
-     * @param $language
150
+     * @param string $language
151 151
      * @param $tables
152 152
      *
153 153
      * @return string
@@ -180,7 +180,7 @@  discard block
 block discarded – undo
180 180
     *  @param array $tables
181 181
     */
182 182
     /**
183
-     * @param $language
183
+     * @param string $language
184 184
      * @param $tables
185 185
      *
186 186
      * @return string
@@ -226,7 +226,7 @@  discard block
 block discarded – undo
226 226
     *  @param $language
227 227
     */
228 228
     /**
229
-     * @param $language
229
+     * @param string $language
230 230
      *
231 231
      * @return string
232 232
      */
@@ -246,7 +246,7 @@  discard block
 block discarded – undo
246 246
     *  @param $table
247 247
     */
248 248
     /**
249
-     * @param $language
249
+     * @param string $language
250 250
      * @param $table
251 251
      *
252 252
      * @return string
@@ -306,7 +306,7 @@  discard block
 block discarded – undo
306 306
     *  @param mixed $table
307 307
     */
308 308
     /**
309
-     * @param $language
309
+     * @param string $language
310 310
      *
311 311
      * @return string
312 312
      */
@@ -330,7 +330,7 @@  discard block
 block discarded – undo
330 330
     *  @param $language
331 331
     */
332 332
     /**
333
-     * @param $language
333
+     * @param string $language
334 334
      *
335 335
      * @return string
336 336
      */
@@ -366,7 +366,7 @@  discard block
 block discarded – undo
366 366
     *  @param null
367 367
     */
368 368
     /**
369
-     * @return bool|string
369
+     * @return null|string
370 370
      */
371 371
     public function render()
372 372
     {
Please login to merge, or discard this patch.
class/files/TDMCreatePhpCode.php 1 patch
Doc Comments   +60 added lines, -2 removed lines patch added patch discarded remove patch
@@ -111,6 +111,10 @@  discard block
 block discarded – undo
111 111
     *
112 112
     *  @return string
113 113
     */
114
+
115
+    /**
116
+     * @param string $var
117
+     */
114 118
     public function getPhpCodeGlobals($var, $value = '')
115 119
     {
116 120
         if ($value != '') {
@@ -129,6 +133,10 @@  discard block
 block discarded – undo
129 133
     *
130 134
     *  @return string
131 135
     */
136
+
137
+    /**
138
+     * @param string $var
139
+     */
132 140
     public function getPhpCodeGlobalsVariables($var = null, $type = 'REQUEST')
133 141
     {
134 142
         $type = strtoupper($type);
@@ -165,6 +173,10 @@  discard block
 block discarded – undo
165 173
      *
166 174
      * @return string
167 175
      */
176
+
177
+    /**
178
+     * @param string $string
179
+     */
168 180
     public function getPhpCodeRemoveCarriageReturn($string, $n = "\n", $t = "\r")
169 181
     {
170 182
         return str_replace(array("{$n}", "{$t}"), '', $string);
@@ -190,6 +202,10 @@  discard block
 block discarded – undo
190 202
     *
191 203
     *  @return string
192 204
     */
205
+
206
+    /**
207
+     * @param string $filename
208
+     */
193 209
     public function getPhpCodeIncludeDir($directory = null, $filename = null, $once = false, $isPath = false, $type = 'include', $t = '')
194 210
     {
195 211
         if ($type === '') {
@@ -236,6 +252,11 @@  discard block
 block discarded – undo
236 252
     *
237 253
     *  @return string
238 254
     */
255
+
256
+    /**
257
+     * @param string $content
258
+     * @param string $extends
259
+     */
239 260
     public function getPhpCodeClass($name = null, $content = null, $extends = null, $type = null)
240 261
     {
241 262
         $typ = ($type != null) ? "{$type} " : '';
@@ -257,6 +278,10 @@  discard block
 block discarded – undo
257 278
     *
258 279
     *  @return string
259 280
     */
281
+
282
+    /**
283
+     * @param string $name
284
+     */
260 285
     public function getPhpCodeVariableClass($type = 'private', $name = null, $assign = 'null', $t = '')
261 286
     {
262 287
         return "{$t}{$type} \${$name} = {$assign};\n";
@@ -272,6 +297,10 @@  discard block
 block discarded – undo
272 297
     *
273 298
     *  @return string
274 299
     */
300
+
301
+    /**
302
+     * @param string $method
303
+     */
275 304
     public function getPhpCodeFunction($name = null, $params = null, $content = null, $method = null, $isRef = false, $t = '')
276 305
     {
277 306
         $inClass = ($method != null) ? $method : '';
@@ -382,8 +411,8 @@  discard block
 block discarded – undo
382 411
     /**
383 412
      *  @public function getPhpCodeSwitch
384 413
      *
385
-     *  @param $op
386
-     *  @param $content
414
+     *  @param string $op
415
+     *  @param string $content
387 416
      *  @param $t
388 417
      *
389 418
      *  @return string
@@ -441,6 +470,10 @@  discard block
 block discarded – undo
441 470
     *  @param $var
442 471
     *  @return string
443 472
     */
473
+
474
+    /**
475
+     * @param string $var
476
+     */
444 477
     public function getPhpCodeIsset($var)
445 478
     {
446 479
         return "isset(\${$var})";
@@ -461,6 +494,10 @@  discard block
 block discarded – undo
461 494
     *  @param $var
462 495
     *  @return string
463 496
     */
497
+
498
+    /**
499
+     * @param string $var
500
+     */
464 501
     public function getPhpCodeIsDir($var)
465 502
     {
466 503
         return "is_dir({$var})";
@@ -472,6 +509,11 @@  discard block
 block discarded – undo
472 509
     *  @param $right
473 510
     *  @return string
474 511
     */
512
+
513
+    /**
514
+     * @param string $left
515
+     * @param string $right
516
+     */
475 517
     public function getPhpCodeImplode($left, $right)
476 518
     {
477 519
         return "implode('{$left}', {$right})";
@@ -516,6 +558,10 @@  discard block
 block discarded – undo
516 558
     *  @param $newfile
517 559
     *  @return string
518 560
     */
561
+
562
+    /**
563
+     * @param string $file
564
+     */
519 565
     public function getPhpCodeCopy($file, $newfile = '', $t = '')
520 566
     {
521 567
         return "{$t}copy({$file}, {$newfile});\n";
@@ -565,6 +611,11 @@  discard block
 block discarded – undo
565 611
     *
566 612
     *  @return string
567 613
     */
614
+
615
+    /**
616
+     * @param string $type
617
+     * @param string $right
618
+     */
568 619
     public function getPhpCodeArrayType($var, $type, $left, $right = null, $isParam = false, $t = "\t\t")
569 620
     {
570 621
         $vars = ($right != null) ? "\${$left}, {$right}" : "\${$left}";
@@ -629,6 +680,13 @@  discard block
 block discarded – undo
629 680
     *
630 681
     *  @return string
631 682
     */
683
+
684
+    /**
685
+     * @param string $var
686
+     * @param string $exp
687
+     * @param string $str
688
+     * @param string $val
689
+     */
632 690
     public function getPhpCodePregFunzions($var, $exp = null, $str, $val, $type = 'match', $isParam = false, $t = "\t")
633 691
     {
634 692
         $pregFunz = "preg_{$type}('";
Please login to merge, or discard this patch.