@@ -18,6 +18,9 @@ discard block |
||
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 |
||
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 |
||
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() |
@@ -155,6 +155,9 @@ discard block |
||
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 |
||
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 |
||
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 |
||
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 |
@@ -116,6 +116,11 @@ discard block |
||
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 |
||
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); |
@@ -280,6 +280,9 @@ discard block |
||
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 |
||
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; |
@@ -233,6 +233,9 @@ |
||
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 = ''; |
@@ -97,6 +97,11 @@ |
||
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')) { |
@@ -18,6 +18,9 @@ discard block |
||
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 |
||
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 |
||
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() |
@@ -18,6 +18,9 @@ discard block |
||
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 |
||
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 |
||
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() |