Completed
Push — master ( 6b7a6d...74143b )
by Gino
20s
created
class/files/TDMCreateStructure.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -28,24 +28,24 @@
 block discarded – undo
28 28
 class TDMCreateStructure
29 29
 {
30 30
     /**
31
-    * @var string
32
-    */
31
+     * @var string
32
+     */
33 33
     private $moduleName;
34 34
     /**
35
-    * @var string
36
-    */
35
+     * @var string
36
+     */
37 37
     private $folderName;
38 38
     /**
39
-    * @var string
40
-    */
39
+     * @var string
40
+     */
41 41
     private $fileName;
42 42
     /**
43
-    * @var string
44
-    */
43
+     * @var string
44
+     */
45 45
     private $path;
46 46
     /**
47
-    * @var mixed
48
-    */
47
+     * @var mixed
48
+     */
49 49
     private $uploadPath;
50 50
 
51 51
     /**
Please login to merge, or discard this patch.
class/files/TDMCreateHtmlSmartyCodes.php 1 patch
Indentation   +30 added lines, -30 removed lines patch added patch discarded remove patch
@@ -28,17 +28,17 @@  discard block
 block discarded – undo
28 28
 class TDMCreateHtmlSmartyCodes
29 29
 {
30 30
     /**
31
-    *  @public function constructor
32
-    *  @param null
33
-    */
31
+     *  @public function constructor
32
+     *  @param null
33
+     */
34 34
 
35 35
     public function __construct()
36 36
     {
37 37
     }
38 38
 
39 39
     /**
40
-    *  @static function getInstance
41
-    *  @param null
40
+     *  @static function getInstance
41
+     *  @param null
42 42
      * @return TDMCreateHtmlSmartyCodes
43 43
      */
44 44
     public static function getInstance()
@@ -76,12 +76,12 @@  discard block
 block discarded – undo
76 76
         return $ret;
77 77
     }
78 78
 
79
-     /**
80
-    *  @private function setAttributes
81
-    *  @param array $attributes
82
-     *
83
-     * @return string
84
-     */
79
+        /**
80
+         *  @private function setAttributes
81
+         *  @param array $attributes
82
+         *
83
+         * @return string
84
+         */
85 85
     private function getAttributes($attributes)
86 86
     {
87 87
         $str = '';
@@ -95,8 +95,8 @@  discard block
 block discarded – undo
95 95
     }
96 96
 
97 97
     /**
98
-    *  @public function getHtmlEmpty
99
-    *  @param string $empty
98
+     *  @public function getHtmlEmpty
99
+     *  @param string $empty
100 100
      *
101 101
      * @return string
102 102
      */
@@ -106,8 +106,8 @@  discard block
 block discarded – undo
106 106
     }
107 107
 
108 108
     /**
109
-    *  @public function getHtmlComment
110
-    *  @param string $htmlComment
109
+     *  @public function getHtmlComment
110
+     *  @param string $htmlComment
111 111
      *
112 112
      * @return string
113 113
      */
@@ -450,7 +450,7 @@  discard block
 block discarded – undo
450 450
     }
451 451
 
452 452
     /**
453
-    *  @public function getHtmlTableData
453
+     *  @public function getHtmlTableData
454 454
      * @param $content
455 455
      * @param $tdClass
456 456
      * @param $colspan
@@ -466,8 +466,8 @@  discard block
 block discarded – undo
466 466
     }
467 467
 
468 468
     /**
469
-    *  @public function getSmartyComment
470
-    *  @param string $comment
469
+     *  @public function getSmartyComment
470
+     *  @param string $comment
471 471
      *
472 472
      * @return string
473 473
      */
@@ -477,8 +477,8 @@  discard block
 block discarded – undo
477 477
     }
478 478
 
479 479
     /**
480
-    *  @public function getSmartyNoSimbol
481
-    *  @param string $noSimbol
480
+     *  @public function getSmartyNoSimbol
481
+     *  @param string $noSimbol
482 482
      *
483 483
      * @return string
484 484
      */
@@ -488,9 +488,9 @@  discard block
 block discarded – undo
488 488
     }
489 489
 
490 490
     /**
491
-    *  @public function getSmartyConst
492
-    *  @param string $language
493
-    *  @param mixed $const
491
+     *  @public function getSmartyConst
492
+     *  @param string $language
493
+     *  @param mixed $const
494 494
      *
495 495
      * @return string
496 496
      */
@@ -500,8 +500,8 @@  discard block
 block discarded – undo
500 500
     }
501 501
 
502 502
     /**
503
-    *  @public function getSmartySingleVar
504
-    *  @param string $var
503
+     *  @public function getSmartySingleVar
504
+     *  @param string $var
505 505
      *
506 506
      * @return string
507 507
      */
@@ -511,9 +511,9 @@  discard block
 block discarded – undo
511 511
     }
512 512
 
513 513
     /**
514
-    *  @public function getSmartyDoubleVar
515
-    *  @param string $leftVar
516
-    *  @param string $rightVar
514
+     *  @public function getSmartyDoubleVar
515
+     *  @param string $leftVar
516
+     *  @param string $rightVar
517 517
      *
518 518
      * @return string
519 519
      */
@@ -547,7 +547,7 @@  discard block
 block discarded – undo
547 547
     }
548 548
 
549 549
     /**
550
-    *  @public function getSmartyIncludeFileListSection
550
+     *  @public function getSmartyIncludeFileListSection
551 551
      * @param $moduleDirname
552 552
      * @param $fileName
553 553
      * @param $tableFieldName
@@ -560,7 +560,7 @@  discard block
 block discarded – undo
560 560
     }
561 561
 
562 562
     /**
563
-    *  @public function getSmartyIncludeFileListForeach
563
+     *  @public function getSmartyIncludeFileListForeach
564 564
      * @param $moduleDirname
565 565
      * @param $fileName
566 566
      * @param $tableFieldName
Please login to merge, or discard this patch.
class/files/TDMCreateMoreFiles.php 1 patch
Indentation   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -28,19 +28,19 @@  discard block
 block discarded – undo
28 28
 class TDMCreateMoreFiles extends TDMCreateFile
29 29
 {
30 30
     /**
31
-    * @var mixed
32
-    */
31
+     * @var mixed
32
+     */
33 33
     private $folder = null;
34 34
 
35 35
     /**
36
-    * @var mixed
37
-    */
36
+     * @var mixed
37
+     */
38 38
     private $extension = null;
39 39
 
40 40
     /**
41
-    *  @public function constructor
42
-    *  @param null
43
-    */
41
+     *  @public function constructor
42
+     *  @param null
43
+     */
44 44
 
45 45
     public function __construct()
46 46
     {
@@ -48,8 +48,8 @@  discard block
 block discarded – undo
48 48
     }
49 49
 
50 50
     /**
51
-    *  @static function getInstance
52
-    *  @param null
51
+     *  @static function getInstance
52
+     *  @param null
53 53
      * @return TDMCreateMoreFiles
54 54
      */
55 55
     public static function getInstance()
@@ -127,8 +127,8 @@  discard block
 block discarded – undo
127 127
     }
128 128
 
129 129
     /**
130
-    *  @private function getMoreFilesText
131
-    *  @param null
130
+     *  @private function getMoreFilesText
131
+     *  @param null
132 132
      *
133 133
      * @return string
134 134
      */
@@ -138,8 +138,8 @@  discard block
 block discarded – undo
138 138
     }
139 139
 
140 140
     /**
141
-    *  @private function getMoreFilesSql
142
-    *  @param null
141
+     *  @private function getMoreFilesSql
142
+     *  @param null
143 143
      *
144 144
      * @return string
145 145
      */
@@ -149,8 +149,8 @@  discard block
 block discarded – undo
149 149
     }
150 150
 
151 151
     /**
152
-    *  @private function getMoreFilesCss
153
-    *  @param $header
152
+     *  @private function getMoreFilesCss
153
+     *  @param $header
154 154
      *
155 155
      * @return string
156 156
      */
@@ -163,8 +163,8 @@  discard block
 block discarded – undo
163 163
     }
164 164
 
165 165
     /**
166
-    *  @private function getMoreFilesDefault
167
-    *  @param null
166
+     *  @private function getMoreFilesDefault
167
+     *  @param null
168 168
      *
169 169
      * @return string
170 170
      */
Please login to merge, or discard this patch.
class/files/classes/ClassFormElements.php 1 patch
Indentation   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
     }
45 45
 
46 46
     /**
47
-    *  @public function initForm
47
+     *  @public function initForm
48 48
      *
49 49
      * @param $module
50 50
      * @param $table
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
     }
87 87
 
88 88
     /**
89
-    *  @private function getXoopsFormText
89
+     *  @private function getXoopsFormText
90 90
      *
91 91
      * @param $language
92 92
      * @param $fieldName
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
     }
109 109
 
110 110
     /**
111
-    *  @private function getXoopsFormDhtmlTextArea
111
+     *  @private function getXoopsFormDhtmlTextArea
112 112
      *
113 113
      * @param $language
114 114
      * @param $moduleDirname
@@ -183,7 +183,7 @@  discard block
 block discarded – undo
183 183
     }
184 184
 
185 185
     /**
186
-    *  @private function getXoopsFormHidden
186
+     *  @private function getXoopsFormHidden
187 187
      *
188 188
      * @param $fieldName
189 189
      *
@@ -203,7 +203,7 @@  discard block
 block discarded – undo
203 203
     }
204 204
 
205 205
     /**
206
-    *  @private function getXoopsFormImageList
206
+     *  @private function getXoopsFormImageList
207 207
      *
208 208
      * @param $language
209 209
      * @param $moduleDirname
@@ -256,7 +256,7 @@  discard block
 block discarded – undo
256 256
     }
257 257
 
258 258
     /**
259
-    *  @private function getXoopsFormSelectFile
259
+     *  @private function getXoopsFormSelectFile
260 260
      *
261 261
      * @param $language
262 262
      * @param $moduleDirname
@@ -307,7 +307,7 @@  discard block
 block discarded – undo
307 307
     }
308 308
 
309 309
     /**
310
-    *  @private function getXoopsFormUrlFile
310
+     *  @private function getXoopsFormUrlFile
311 311
      *
312 312
      * @param   $language
313 313
      * @param   $moduleDirname
@@ -388,7 +388,7 @@  discard block
 block discarded – undo
388 388
     }
389 389
 
390 390
     /**
391
-    *  @private function getXoopsFormUploadFile
391
+     *  @private function getXoopsFormUploadFile
392 392
      *
393 393
      * @param $language
394 394
      * @param $moduleDirname
@@ -414,7 +414,7 @@  discard block
 block discarded – undo
414 414
     }
415 415
 
416 416
     /**
417
-    *  @private function getXoopsFormColorPicker
417
+     *  @private function getXoopsFormColorPicker
418 418
      *
419 419
      * @param $language
420 420
      * @param $moduleDirname
@@ -438,7 +438,7 @@  discard block
 block discarded – undo
438 438
     }
439 439
 
440 440
     /**
441
-    *  @private function getXoopsFormSelectBox
441
+     *  @private function getXoopsFormSelectBox
442 442
      *
443 443
      * @param $language
444 444
      * @param $moduleDirname
@@ -492,7 +492,7 @@  discard block
 block discarded – undo
492 492
     }
493 493
 
494 494
     /**
495
-    *  @private function getXoopsFormRadioYN
495
+     *  @private function getXoopsFormRadioYN
496 496
      *
497 497
      * @param $language
498 498
      * @param $fieldName
@@ -516,7 +516,7 @@  discard block
 block discarded – undo
516 516
     }
517 517
 
518 518
     /**
519
-    *  @private function getXoopsFormTextDateSelect
519
+     *  @private function getXoopsFormTextDateSelect
520 520
      *
521 521
      * @param $language
522 522
      * @param $fieldName
@@ -540,7 +540,7 @@  discard block
 block discarded – undo
540 540
     }
541 541
 
542 542
     /**
543
-    *  @private function getXoopsFormTable
543
+     *  @private function getXoopsFormTable
544 544
      *
545 545
      * @param $language
546 546
      * @param $moduleDirname
@@ -613,7 +613,7 @@  discard block
 block discarded – undo
613 613
     }
614 614
 
615 615
     /**
616
-    *  @private function getXoopsFormTag
616
+     *  @private function getXoopsFormTag
617 617
      *
618 618
      * @param $moduleDirname
619 619
      * @param $fieldId
@@ -641,7 +641,7 @@  discard block
 block discarded – undo
641 641
     }
642 642
 
643 643
     /**
644
-    *  @public function renderElements
644
+     *  @public function renderElements
645 645
      *  @param null
646 646
      * @return string
647 647
      */
Please login to merge, or discard this patch.
class/files/include/IncludeComments.php 1 patch
Indentation   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -28,9 +28,9 @@  discard block
 block discarded – undo
28 28
 class IncludeComments extends TDMCreateFile
29 29
 {
30 30
     /**
31
-    *  @public function constructor
32
-    *  @param null
33
-    */
31
+     *  @public function constructor
32
+     *  @param null
33
+     */
34 34
 
35 35
     public function __construct()
36 36
     {
@@ -38,8 +38,8 @@  discard block
 block discarded – undo
38 38
     }
39 39
 
40 40
     /**
41
-    *  @static function getInstance
42
-    *  @param null
41
+     *  @static function getInstance
42
+     *  @param null
43 43
      * @return IncludeComments
44 44
      */
45 45
     public static function getInstance()
@@ -53,9 +53,9 @@  discard block
 block discarded – undo
53 53
     }
54 54
 
55 55
     /**
56
-    *  @public function write
57
-    *  @param string $module
58
-    *  @param mixed $table
56
+     *  @public function write
57
+     *  @param string $module
58
+     *  @param mixed $table
59 59
      */
60 60
     public function write($module, $table)
61 61
     {
@@ -64,9 +64,9 @@  discard block
 block discarded – undo
64 64
     }
65 65
 
66 66
     /**
67
-    *  @public function getCommentsIncludes
68
-    *  @param string $module
69
-    *  @param string $filename
67
+     *  @public function getCommentsIncludes
68
+     *  @param string $module
69
+     *  @param string $filename
70 70
      *
71 71
      * @return bool|string
72 72
      */
@@ -84,9 +84,9 @@  discard block
 block discarded – undo
84 84
     }
85 85
 
86 86
     /**
87
-    *  @public function getCommentsNew
88
-    *  @param string $module
89
-    *  @param string $filename
87
+     *  @public function getCommentsNew
88
+     *  @param string $module
89
+     *  @param string $filename
90 90
      *
91 91
      * @return bool|string
92 92
      */
@@ -118,9 +118,9 @@  discard block
 block discarded – undo
118 118
         return $this->renderFile();
119 119
     }
120 120
     /**
121
-    *  @public function render
122
-    *  @param null
123
-    */
121
+     *  @public function render
122
+     *  @param null
123
+     */
124 124
     /*public function render() {
125 125
         $module = $this->getModule();
126 126
         $table = $this->getTable();
Please login to merge, or discard this patch.
class/files/include/IncludeSearch.php 1 patch
Indentation   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -28,9 +28,9 @@  discard block
 block discarded – undo
28 28
 class IncludeSearch extends TDMCreateFile
29 29
 {
30 30
     /**
31
-    *  @public function constructor
32
-    *  @param null
33
-    */
31
+     *  @public function constructor
32
+     *  @param null
33
+     */
34 34
 
35 35
     public function __construct()
36 36
     {
@@ -39,8 +39,8 @@  discard block
 block discarded – undo
39 39
     }
40 40
 
41 41
     /**
42
-    *  @static function getInstance
43
-    *  @param null
42
+     *  @static function getInstance
43
+     *  @param null
44 44
      * @return IncludeSearch
45 45
      */
46 46
     public static function getInstance()
@@ -54,10 +54,10 @@  discard block
 block discarded – undo
54 54
     }
55 55
 
56 56
     /**
57
-    *  @public function write
58
-    *  @param string $module
59
-    *  @param mixed $table
60
-    *  @param string $filename
57
+     *  @public function write
58
+     *  @param string $module
59
+     *  @param mixed $table
60
+     *  @param string $filename
61 61
      */
62 62
     public function write($module, $table, $filename)
63 63
     {
@@ -67,9 +67,9 @@  discard block
 block discarded – undo
67 67
     }
68 68
 
69 69
     /**
70
-    *  @static function getSearchField
71
-    *  @param string $fieldSearch
72
-    *  @param string $options
70
+     *  @static function getSearchField
71
+     *  @param string $fieldSearch
72
+     *  @param string $options
73 73
      *
74 74
      * @return string
75 75
      */
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
     }
95 95
 
96 96
     /**
97
-    *  @static function getSearchFunction
97
+     *  @static function getSearchFunction
98 98
      * @param $moduleDirname
99 99
      *
100 100
      * @return string
@@ -162,8 +162,8 @@  discard block
 block discarded – undo
162 162
     }
163 163
 
164 164
     /**
165
-    *  @public function render
166
-    *  @param null
165
+     *  @public function render
166
+     *  @param null
167 167
      * @return bool|string
168 168
      */
169 169
     public function render()
Please login to merge, or discard this patch.
class/files/include/IncludeCommon.php 1 patch
Indentation   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -28,9 +28,9 @@  discard block
 block discarded – undo
28 28
 class IncludeCommon extends TDMCreateFile
29 29
 {
30 30
     /**
31
-    *  @public function constructor
32
-    *  @param null
33
-    */
31
+     *  @public function constructor
32
+     *  @param null
33
+     */
34 34
 
35 35
     public function __construct()
36 36
     {
@@ -38,8 +38,8 @@  discard block
 block discarded – undo
38 38
     }
39 39
 
40 40
     /**
41
-    *  @static function getInstance
42
-    *  @param null
41
+     *  @static function getInstance
42
+     *  @param null
43 43
      * @return IncludeCommon
44 44
      */
45 45
     public static function getInstance()
@@ -53,11 +53,11 @@  discard block
 block discarded – undo
53 53
     }
54 54
 
55 55
     /**
56
-    *  @public function write
57
-    *  @param string $module
58
-    *  @param object $table
59
-    *  @param string $filename
60
-    */
56
+     *  @public function write
57
+     *  @param string $module
58
+     *  @param object $table
59
+     *  @param string $filename
60
+     */
61 61
     public function write($module, $table, $filename)
62 62
     {
63 63
         $this->setModule($module);
@@ -79,10 +79,10 @@  discard block
 block discarded – undo
79 79
     }
80 80
 
81 81
     /**
82
-    *  @private function getCommonCode
83
-    *  @param XoopsObject $module
84
-    * @return string
85
-    */
82
+     *  @private function getCommonCode
83
+     *  @param XoopsObject $module
84
+     * @return string
85
+     */
86 86
     private function getCommonCode($module)
87 87
     {
88 88
         $pc = TDMCreatePhpCode::getInstance();
@@ -135,8 +135,8 @@  discard block
 block discarded – undo
135 135
     }
136 136
 
137 137
     /**
138
-    *  @public function render
139
-    *  @param null
138
+     *  @public function render
139
+     *  @param null
140 140
      * @return bool|string
141 141
      */
142 142
     public function render()
Please login to merge, or discard this patch.
class/files/include/IncludeFunctions.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -28,9 +28,9 @@  discard block
 block discarded – undo
28 28
 class IncludeFunctions extends TDMCreateFile
29 29
 {
30 30
     /**
31
-    *  @public function constructor
32
-    *  @param null
33
-    */
31
+     *  @public function constructor
32
+     *  @param null
33
+     */
34 34
 
35 35
     public function __construct()
36 36
     {
@@ -38,8 +38,8 @@  discard block
 block discarded – undo
38 38
     }
39 39
 
40 40
     /**
41
-    *  @static function getInstance
42
-    *  @param null
41
+     *  @static function getInstance
42
+     *  @param null
43 43
      * @return IncludeFunctions
44 44
      */
45 45
     public static function getInstance()
@@ -65,8 +65,8 @@  discard block
 block discarded – undo
65 65
     }
66 66
 
67 67
     /**
68
-    *  @private function getFunctionBlock
69
-    *  @param string $moduleDirname
68
+     *  @private function getFunctionBlock
69
+     *  @param string $moduleDirname
70 70
      *
71 71
      * @return string
72 72
      */
@@ -93,8 +93,8 @@  discard block
 block discarded – undo
93 93
     }
94 94
 
95 95
     /**
96
-    *  @private function getFunctionGetMyItemIds
97
-    *  @param string $moduleDirname
96
+     *  @private function getFunctionGetMyItemIds
97
+     *  @param string $moduleDirname
98 98
      * @param $tableName
99 99
      *
100 100
      * @return string
Please login to merge, or discard this patch.
class/files/include/IncludeInstall.php 1 patch
Indentation   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -28,9 +28,9 @@  discard block
 block discarded – undo
28 28
 class IncludeInstall extends TDMCreateFile
29 29
 {
30 30
     /**
31
-    *  @public function constructor
32
-    *  @param null
33
-    */
31
+     *  @public function constructor
32
+     *  @param null
33
+     */
34 34
 
35 35
     public function __construct()
36 36
     {
@@ -38,8 +38,8 @@  discard block
 block discarded – undo
38 38
     }
39 39
 
40 40
     /**
41
-    *  @static function getInstance
42
-    *  @param null
41
+     *  @static function getInstance
42
+     *  @param null
43 43
      * @return IncludeInstall
44 44
      */
45 45
     public static function getInstance()
@@ -126,8 +126,8 @@  discard block
 block discarded – undo
126 126
     }
127 127
 
128 128
     /**
129
-    *  @private function getInstallImagesFolder
130
-    *  @param string $moduleDirname
129
+     *  @private function getInstallImagesFolder
130
+     *  @param string $moduleDirname
131 131
      *
132 132
      * @return string
133 133
      */
@@ -200,8 +200,8 @@  discard block
 block discarded – undo
200 200
     }
201 201
 
202 202
     /**
203
-    *  @private function getInstallTableFilesFolder
204
-    *  @param string $tableName
203
+     *  @private function getInstallTableFilesFolder
204
+     *  @param string $tableName
205 205
      *
206 206
      * @return string
207 207
      */
@@ -217,8 +217,8 @@  discard block
 block discarded – undo
217 217
     }
218 218
 
219 219
     /**
220
-    *  @private function getInstallFooter
221
-    *  @param null
220
+     *  @private function getInstallFooter
221
+     *  @param null
222 222
      * @return string
223 223
      */
224 224
     private function getInstallFooter()
@@ -227,8 +227,8 @@  discard block
 block discarded – undo
227 227
     }
228 228
 
229 229
     /**
230
-    *  @public function render
231
-    *  @param null
230
+     *  @public function render
231
+     *  @param null
232 232
      * @return bool|string
233 233
      */
234 234
     public function render()
Please login to merge, or discard this patch.