@@ -244,6 +244,7 @@ |
||
| 244 | 244 | |
| 245 | 245 | /** |
| 246 | 246 | * Constructor |
| 247 | + * @param string $name |
|
| 247 | 248 | */ |
| 248 | 249 | function MyXoopsGroupFormCheckBox($caption, $name, $groupId, $values = null) |
| 249 | 250 | { |
@@ -30,10 +30,6 @@ |
||
| 30 | 30 | * @param unknown $value |
| 31 | 31 | * @param string $selected |
| 32 | 32 | * @param integer $size |
| 33 | - * @param integer $emptyselect |
|
| 34 | - * @param integer $type |
|
| 35 | - * @param string $prefix |
|
| 36 | - * @param string $suffix |
|
| 37 | 33 | * @return |
| 38 | 34 | */ |
| 39 | 35 | function fileList( $path = "uploads", $value = null, $selected='', $size = 1 ) |
@@ -51,9 +51,9 @@ |
||
| 51 | 51 | /** |
| 52 | 52 | * Constructor |
| 53 | 53 | * |
| 54 | - * @param string $_img_name |
|
| 55 | - * @param string $_img_path |
|
| 56 | - * @param string $_img_savepath |
|
| 54 | + * @param string $img_name |
|
| 55 | + * @param string $img_path |
|
| 56 | + * @param string $img_savepath |
|
| 57 | 57 | */ |
| 58 | 58 | function wfThumbsNails( $img_name = null, $img_path = null, $img_savepath = null ) |
| 59 | 59 | { |
@@ -88,11 +88,10 @@ discard block |
||
| 88 | 88 | * Constructor |
| 89 | 89 | * |
| 90 | 90 | * @param string $uploadDir |
| 91 | - * @param array $allowedMimeTypes |
|
| 91 | + * @param integer $allowedMimeTypes |
|
| 92 | 92 | * @param int $maxFileSize |
| 93 | 93 | * @param int $maxWidth |
| 94 | 94 | * @param int $maxHeight |
| 95 | - * @param int $cmodvalue |
|
| 96 | 95 | */ |
| 97 | 96 | function XoopsMediaUploader($uploadDir, $allowedMimeTypes = 0, $maxFileSize, $maxWidth = 0, $maxHeight = 0) |
| 98 | 97 | { |
@@ -109,6 +108,9 @@ discard block |
||
| 109 | 108 | } |
| 110 | 109 | } |
| 111 | 110 | |
| 111 | + /** |
|
| 112 | + * @param integer $value |
|
| 113 | + */ |
|
| 112 | 114 | function noAdminSizeCheck($value) |
| 113 | 115 | { |
| 114 | 116 | $this->noadmin_sizecheck = $value; |
@@ -331,6 +333,7 @@ discard block |
||
| 331 | 333 | /** |
| 332 | 334 | * Copy the file to its destination |
| 333 | 335 | * |
| 336 | + * @param integer $chmod |
|
| 334 | 337 | * @return bool |
| 335 | 338 | */ |
| 336 | 339 | function _copyFile($chmod) |
@@ -70,6 +70,9 @@ |
||
| 70 | 70 | return $dirlist; |
| 71 | 71 | } |
| 72 | 72 | |
| 73 | + /** |
|
| 74 | + * @param string $dirname |
|
| 75 | + */ |
|
| 73 | 76 | function &getListTypeAsArray($dirname, $type='', $prefix="", $noselection = 1) { |
| 74 | 77 | |
| 75 | 78 | $filelist = array(); |
@@ -902,6 +902,10 @@ discard block |
||
| 902 | 902 | } |
| 903 | 903 | |
| 904 | 904 | // Retreive an editor according to the module's option "form_options" |
| 905 | +/** |
|
| 906 | + * @param string $caption |
|
| 907 | + * @param string $name |
|
| 908 | + */ |
|
| 905 | 909 | function wfl_getWysiwygForm( $caption, $name, $value ) |
| 906 | 910 | { |
| 907 | 911 | global $xoopsModuleConfig, $xoopsUser, $xoopsModule; |
@@ -1368,6 +1372,9 @@ discard block |
||
| 1368 | 1372 | return $a; |
| 1369 | 1373 | } |
| 1370 | 1374 | |
| 1375 | +/** |
|
| 1376 | + * @param double $c |
|
| 1377 | + */ |
|
| 1371 | 1378 | function mix($a,$b,$c) |
| 1372 | 1379 | { |
| 1373 | 1380 | $a -= $b; $a -= $c; $a ^= (zeroFill($c,13)); |
@@ -1383,6 +1390,9 @@ discard block |
||
| 1383 | 1390 | return array($a,$b,$c); |
| 1384 | 1391 | } |
| 1385 | 1392 | |
| 1393 | +/** |
|
| 1394 | + * @param integer[] $url |
|
| 1395 | + */ |
|
| 1386 | 1396 | function GoogleCH($url, $length=null, $init=0xE6359A60) |
| 1387 | 1397 | { |
| 1388 | 1398 | if (is_null($length)) { |
@@ -1424,6 +1434,9 @@ discard block |
||
| 1424 | 1434 | return $mix[2]; |
| 1425 | 1435 | } |
| 1426 | 1436 | //converts a string into an array of integers containing the numeric value of the char |
| 1437 | +/** |
|
| 1438 | + * @param string $string |
|
| 1439 | + */ |
|
| 1427 | 1440 | function strord($string) |
| 1428 | 1441 | { |
| 1429 | 1442 | for ($i=0; $i<strlen($string); ++$i) { |
@@ -26,7 +26,7 @@ |
||
| 26 | 26 | * |
| 27 | 27 | * @var array $items associative array of items: [modid][catid][itemid] |
| 28 | 28 | * |
| 29 | - * @return boolean |
|
| 29 | + * @return false|null |
|
| 30 | 30 | * |
| 31 | 31 | */ |
| 32 | 32 | |
@@ -28,11 +28,17 @@ discard block |
||
| 28 | 28 | |
| 29 | 29 | ***************************************************************************/ |
| 30 | 30 | |
| 31 | +/** |
|
| 32 | + * @param string $string |
|
| 33 | + */ |
|
| 31 | 34 | function vcard_encode($string) |
| 32 | 35 | { |
| 33 | 36 | return vcard_escape(vcard_quoted_printable_encode($string)); |
| 34 | 37 | } |
| 35 | 38 | |
| 39 | +/** |
|
| 40 | + * @param string $string |
|
| 41 | + */ |
|
| 36 | 42 | function vcard_escape($string) |
| 37 | 43 | { |
| 38 | 44 | return str_replace(";","\;",$string); |
@@ -108,6 +114,9 @@ discard block |
||
| 108 | 114 | $this -> properties["PHOTO;TYPE=$type;ENCODING=BASE64"] = base64_vcard_encode($photo); |
| 109 | 115 | } |
| 110 | 116 | |
| 117 | + /** |
|
| 118 | + * @param string $name |
|
| 119 | + */ |
|
| 111 | 120 | function setFormattedName($name) |
| 112 | 121 | { |
| 113 | 122 | $this -> properties["FN"] = vcard_quoted_printable_encode($name); |