Completed
Branch master (876a9b)
by Michael
03:25
created
fpdf/gif.php 1 patch
Doc Comments   +40 added lines patch added patch discarded remove patch
@@ -142,6 +142,10 @@  discard block
 block discarded – undo
142 142
 
143 143
   ///////////////////////////////////////////////////////////////////////////
144 144
 
145
+  /**
146
+   * @param string $data
147
+   * @param integer $datLen
148
+   */
145 149
   function deCompress($data, &$datLen)
146 150
   {
147 151
     $stLen  = strlen($data);
@@ -166,6 +170,11 @@  discard block
 block discarded – undo
166 170
 
167 171
   ///////////////////////////////////////////////////////////////////////////
168 172
 
173
+  /**
174
+   * @param boolean $bInit
175
+   *
176
+   * @return integer
177
+   */
169 178
   function LZWCommand(&$data, $bInit)
170 179
   {
171 180
     if($bInit) {
@@ -355,6 +364,10 @@  discard block
 block discarded – undo
355 364
 
356 365
   ///////////////////////////////////////////////////////////////////////////
357 366
 
367
+  /**
368
+   * @param string $lpData
369
+   * @param integer $num
370
+   */
358 371
   function load($lpData, $num)
359 372
   {
360 373
     $this->m_nColors  = 0;
@@ -466,6 +479,9 @@  discard block
 block discarded – undo
466 479
 
467 480
   ///////////////////////////////////////////////////////////////////////////
468 481
 
482
+  /**
483
+   * @param integer $hdrLen
484
+   */
469 485
   function load($lpData, &$hdrLen)
470 486
   {
471 487
     $hdrLen = 0;
@@ -503,6 +519,9 @@  discard block
 block discarded – undo
503 519
 
504 520
   ///////////////////////////////////////////////////////////////////////////
505 521
 
522
+  /**
523
+   * @param string $str
524
+   */
506 525
   function w2i($str)
507 526
   {
508 527
     return ord(substr($str, 0, 1)) + (ord(substr($str, 1, 1)) << 8);
@@ -541,6 +560,10 @@  discard block
 block discarded – undo
541 560
 
542 561
   ///////////////////////////////////////////////////////////////////////////
543 562
 
563
+  /**
564
+   * @param string $lpData
565
+   * @param integer $hdrLen
566
+   */
544 567
   function load($lpData, &$hdrLen)
545 568
   {
546 569
     $hdrLen = 0;
@@ -574,6 +597,9 @@  discard block
 block discarded – undo
574 597
 
575 598
   ///////////////////////////////////////////////////////////////////////////
576 599
 
600
+  /**
601
+   * @param string $str
602
+   */
577 603
   function w2i($str)
578 604
   {
579 605
     return ord(substr($str, 0, 1)) + (ord(substr($str, 1, 1)) << 8);
@@ -611,6 +637,10 @@  discard block
 block discarded – undo
611 637
 
612 638
   ///////////////////////////////////////////////////////////////////////////
613 639
 
640
+  /**
641
+   * @param string $data
642
+   * @param integer $datLen
643
+   */
614 644
   function load($data, &$datLen)
615 645
   {
616 646
     $datLen = 0;
@@ -660,6 +690,10 @@  discard block
 block discarded – undo
660 690
 
661 691
   ///////////////////////////////////////////////////////////////////////////
662 692
 
693
+  /**
694
+   * @param string $data
695
+   * @param integer $extLen
696
+   */
663 697
   function skipExt(&$data, &$extLen)
664 698
   {
665 699
     $extLen = 0;
@@ -706,6 +740,9 @@  discard block
 block discarded – undo
706 740
 
707 741
   ///////////////////////////////////////////////////////////////////////////
708 742
 
743
+  /**
744
+   * @param string $str
745
+   */
709 746
   function w2i($str)
710 747
   {
711 748
     return ord(substr($str, 0, 1)) + (ord(substr($str, 1, 1)) << 8);
@@ -777,6 +814,9 @@  discard block
 block discarded – undo
777 814
 
778 815
   ///////////////////////////////////////////////////////////////////////////
779 816
 
817
+  /**
818
+   * @param integer $iIndex
819
+   */
780 820
   function loadFile($lpszFileName, $iIndex)
781 821
   {
782 822
     if($iIndex < 0) {
Please login to merge, or discard this patch.
fpdf/japanese.php 1 patch
Doc Comments   +11 added lines patch added patch discarded remove patch
@@ -18,6 +18,9 @@  discard block
 block discarded – undo
18 18
 
19 19
 class PDF_Japanese extends FPDF
20 20
 {
21
+/**
22
+ * @param string $style
23
+ */
21 24
 function AddCIDFont($family,$style,$name,$cw,$CMap,$registry)
22 25
 {
23 26
   $fontkey=strtolower($family).strtoupper($style);
@@ -27,6 +30,11 @@  discard block
 block discarded – undo
27 30
   $this->fonts[$fontkey]=array('i'=>$i,'type'=>'Type0','name'=>$name,'up'=>-120,'ut'=>40,'cw'=>$cw,'CMap'=>$CMap,'registry'=>$registry);
28 31
 }
29 32
 
33
+/**
34
+ * @param string $family
35
+ * @param string $name
36
+ * @param string $CMap
37
+ */
30 38
 function AddCIDFonts($family,$name,$cw,$CMap,$registry)
31 39
 {
32 40
   $this->AddCIDFont($family,'',$name,$cw,$CMap,$registry);
@@ -223,6 +231,9 @@  discard block
 block discarded – undo
223 231
     parent::Write($h,$txt,$link);
224 232
 }
225 233
 
234
+/**
235
+ * @param string $link
236
+ */
226 237
 function SJISWrite($h,$txt,$link)
227 238
 {
228 239
   //SJIS version of Write()
Please login to merge, or discard this patch.
fpdf/korean.php 1 patch
Doc Comments   +11 added lines patch added patch discarded remove patch
@@ -18,6 +18,9 @@  discard block
 block discarded – undo
18 18
 
19 19
 class PDF_Korean extends FPDF
20 20
 {
21
+/**
22
+ * @param string $style
23
+ */
21 24
 function AddCIDFont($family,$style,$name,$cw,$CMap,$registry)
22 25
 {
23 26
   $fontkey=strtolower($family).strtoupper($style);
@@ -28,6 +31,11 @@  discard block
 block discarded – undo
28 31
   $this->fonts[$fontkey]=array('i'=>$i,'type'=>'Type0','name'=>$name,'up'=>-130,'ut'=>40,'cw'=>$cw,'CMap'=>$CMap,'registry'=>$registry);
29 32
 }
30 33
 
34
+/**
35
+ * @param string $family
36
+ * @param string $name
37
+ * @param string $CMap
38
+ */
31 39
 function AddCIDFonts($family,$name,$cw,$CMap,$registry)
32 40
 {
33 41
   $this->AddCIDFont($family,'',$name,$cw,$CMap,$registry);
@@ -200,6 +208,9 @@  discard block
 block discarded – undo
200 208
     parent::Write($h,$txt,$link);
201 209
 }
202 210
 
211
+/**
212
+ * @param string $link
213
+ */
203 214
 function MBWrite($h,$txt,$link)
204 215
 {
205 216
   //Multi-byte version of Write()
Please login to merge, or discard this patch.
fpdf/makepdf_class.php 1 patch
Doc Comments   +12 added lines patch added patch discarded remove patch
@@ -155,6 +155,9 @@  discard block
 block discarded – undo
155 155
       }
156 156
   }
157 157
 
158
+  /**
159
+   * @param string $tag
160
+   */
158 161
   function OpenTag($tag,$attr,$scale)
159 162
   {
160 163
       //Opening tag
@@ -213,6 +216,9 @@  discard block
 block discarded – undo
213 216
       }
214 217
   }
215 218
 
219
+  /**
220
+   * @param string $tag
221
+   */
216 222
   function CloseTag($tag)
217 223
   {
218 224
       //Closing tag
@@ -243,6 +249,9 @@  discard block
 block discarded – undo
243 249
       }
244 250
   }
245 251
 
252
+  /**
253
+   * @param boolean $enable
254
+   */
246 255
   function SetStyle($tag,$enable)
247 256
   {
248 257
       //Modify style and select corresponding font
@@ -254,6 +263,9 @@  discard block
 block discarded – undo
254 263
       $this->SetFont('',$style);
255 264
   }
256 265
 
266
+  /**
267
+   * @param string $URL
268
+   */
257 269
   function PutLink($URL,$txt)
258 270
   {
259 271
     //Put a hyperlink
Please login to merge, or discard this patch.
include/feedfunc.new.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -116,6 +116,11 @@  discard block
 block discarded – undo
116 116
 // --------------------------------------------------------
117 117
 // strip space code
118 118
 // --------------------------------------------------------
119
+/**
120
+ * @param string $text
121
+ *
122
+ * @return string
123
+ */
119 124
 function wani_strip_space($text)
120 125
 {
121 126
     global $xoopsConfig;
@@ -137,6 +142,9 @@  discard block
 block discarded – undo
137 142
 // add space code after end tag
138 143
 // REQ 3509: put into spacing in a summary
139 144
 // --------------------------------------------------------
145
+/**
146
+ * @return string
147
+ */
140 148
 function wani_add_space($text)
141 149
 {
142 150
     $text = preg_replace("/>/", '> ', $text);
Please login to merge, or discard this patch.
include/functions.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -280,6 +280,9 @@  discard block
 block discarded – undo
280 280
     }
281 281
 }
282 282
 //
283
+/**
284
+ * @param string $aFile
285
+ */
283 286
 function mylinksGetIconURL($aFile)
284 287
 {
285 288
     global $mylinks_theme;
@@ -292,6 +295,9 @@  discard block
 block discarded – undo
292 295
 }
293 296
 
294 297
 //
298
+/**
299
+ * @param string $aFile
300
+ */
295 301
 function mylinksGetStylePath($aFile, $subPath='', $relPath=true)
296 302
 {
297 303
     global $mylinks_theme, $xoopsModule;
Please login to merge, or discard this patch.
include/gtickets.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -233,6 +233,9 @@
 block discarded – undo
233 233
         echo '<html><head><title>' . $this->messages['err_general'] . '</title><style>table,td,th {border:solid black 1px; border-collapse:collapse;}</style></head><body>' . sprintf($this->messages['fmt_prompt4repost'], $this->getErrors()) . $table . $form . '</body></html>';
234 234
     }
235 235
 
236
+    /**
237
+     * @param string $key_name
238
+     */
236 239
     function extract_post_recursive($key_name, $tmp_array) {
237 240
         $table = '';
238 241
         $form = '';
Please login to merge, or discard this patch.
qrcode.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -97,6 +97,11 @@
 block discarded – undo
97 97
 
98 98
 $myts =& MyTextSanitizer::getInstance();
99 99
 
100
+/**
101
+ * @param string $str
102
+ *
103
+ * @return string
104
+ */
100 105
 function mylinks_qrcode_convert_encoding($str, $to = 'SJIS', $from = _CHARSET)
101 106
 {
102 107
     if (function_exists('mb_convert_encoding')) {
Please login to merge, or discard this patch.