@@ -73,6 +73,11 @@ discard block |
||
| 73 | 73 | } |
| 74 | 74 | |
| 75 | 75 | // http://doc.spip.org/@valider_xml_ok |
| 76 | +/** |
|
| 77 | + * @param string $url |
|
| 78 | + * @param string $req_ext |
|
| 79 | + * @param integer $limit |
|
| 80 | + */ |
|
| 76 | 81 | function valider_xml_ok($url, $req_ext, $limit, $rec, $process = true) { |
| 77 | 82 | $url = urldecode($url); |
| 78 | 83 | $rec = !$rec ? false : array(); |
@@ -169,6 +174,9 @@ discard block |
||
| 169 | 174 | } |
| 170 | 175 | |
| 171 | 176 | // http://doc.spip.org/@valider_resultats |
| 177 | +/** |
|
| 178 | + * @param boolean $mode |
|
| 179 | + */ |
|
| 172 | 180 | function valider_resultats($res, $mode) |
| 173 | 181 | { |
| 174 | 182 | include_spip('inc/securiser_action'); |
@@ -343,6 +351,9 @@ discard block |
||
| 343 | 351 | } |
| 344 | 352 | |
| 345 | 353 | // http://doc.spip.org/@valider_dir |
| 354 | +/** |
|
| 355 | + * @param string $dir |
|
| 356 | + */ |
|
| 346 | 357 | function valider_dir($files, $ext, $dir) |
| 347 | 358 | { |
| 348 | 359 | $res = array(); |
@@ -88,7 +88,7 @@ discard block |
||
| 88 | 88 | * the constructor |
| 89 | 89 | * |
| 90 | 90 | * @param array $options |
| 91 | - * @return boolean |
|
| 91 | + * @return boolean|null |
|
| 92 | 92 | * @since 0.5.2 |
| 93 | 93 | */ |
| 94 | 94 | public function __construct($options = false) |
@@ -393,7 +393,7 @@ discard block |
||
| 393 | 393 | /** |
| 394 | 394 | * Use this method to get the last error ocurred |
| 395 | 395 | * @param void |
| 396 | - * @return string The last error, that occured |
|
| 396 | + * @return boolean The last error, that occured |
|
| 397 | 397 | */ |
| 398 | 398 | public function get_last_error() |
| 399 | 399 | { |
@@ -403,7 +403,7 @@ discard block |
||
| 403 | 403 | /** |
| 404 | 404 | * The actual decoding algorithm |
| 405 | 405 | * @param string |
| 406 | - * @return mixed |
|
| 406 | + * @return false|string |
|
| 407 | 407 | */ |
| 408 | 408 | protected function _decode($encoded) |
| 409 | 409 | { |
@@ -464,7 +464,7 @@ discard block |
||
| 464 | 464 | /** |
| 465 | 465 | * The actual encoding algorithm |
| 466 | 466 | * @param string |
| 467 | - * @return mixed |
|
| 467 | + * @return false|string |
|
| 468 | 468 | */ |
| 469 | 469 | protected function _encode($decoded) |
| 470 | 470 | { |
@@ -699,7 +699,7 @@ discard block |
||
| 699 | 699 | * Decomposes a Hangul syllable |
| 700 | 700 | * (see http://www.unicode.org/unicode/reports/tr15/#Hangul |
| 701 | 701 | * @param integer 32bit UCS4 code point |
| 702 | - * @return array Either Hangul Syllable decomposed or original 32bit value as one value array |
|
| 702 | + * @return integer[] Either Hangul Syllable decomposed or original 32bit value as one value array |
|
| 703 | 703 | */ |
| 704 | 704 | protected function _hangul_decompose($char) |
| 705 | 705 | { |