@@ -42,6 +42,9 @@ |
||
42 | 42 | *** |
43 | 43 | * @param $msg |
44 | 44 | */ |
45 | +/** |
|
46 | + * @param string $msg |
|
47 | + */ |
|
45 | 48 | function showerror($msg) |
46 | 49 | { |
47 | 50 | global $xoopsDB; |
@@ -47,6 +47,9 @@ |
||
47 | 47 | * @param $msg |
48 | 48 | */ |
49 | 49 | |
50 | +/** |
|
51 | + * @param string $msg |
|
52 | + */ |
|
50 | 53 | function showerror($msg) |
51 | 54 | { |
52 | 55 | global $xoopsDB; |
@@ -387,8 +387,8 @@ discard block |
||
387 | 387 | * save_permissions() |
388 | 388 | * adapted from WF-Downloads |
389 | 389 | * @param $groups |
390 | - * @param $id |
|
391 | - * @param $perm_name |
|
390 | + * @param integer $id |
|
391 | + * @param string $perm_name |
|
392 | 392 | * @return bool |
393 | 393 | */ |
394 | 394 | |
@@ -420,10 +420,14 @@ discard block |
||
420 | 420 | //-- Initial Selector |
421 | 421 | /** |
422 | 422 | * @param $init |
423 | + * @param integer $a |
|
423 | 424 | */ |
424 | 425 | function unichr($a) { |
425 | 426 | return mb_convert_encoding(pack("N",$a), mb_internal_encoding(), 'UCS-4BE'); |
426 | 427 | } |
428 | +/** |
|
429 | + * @param integer $init |
|
430 | + */ |
|
427 | 431 | function lx_getinit($init) |
428 | 432 | { |
429 | 433 | global $init; |
@@ -12,7 +12,8 @@ |
||
12 | 12 | |
13 | 13 | /** |
14 | 14 | * @param $options |
15 | - * @return array |
|
15 | + * @param integer $a |
|
16 | + * @return string |
|
16 | 17 | */ |
17 | 18 | function uchr($a) { |
18 | 19 | if (is_scalar($a)) $a= func_get_args(); |
@@ -437,6 +437,11 @@ discard block |
||
437 | 437 | } |
438 | 438 | |
439 | 439 | //Retrieve moduleoptions equivalent to $Xoopsmoduleconfig |
440 | +/** |
|
441 | + * @param string $option |
|
442 | + * |
|
443 | + * @return string |
|
444 | + */ |
|
440 | 445 | function lx_getmoduleoption($option, $repmodule='lexikon') { |
441 | 446 | global $xoopsModuleConfig, $xoopsModule; |
442 | 447 | static $tbloptions= Array(); |
@@ -831,6 +836,7 @@ discard block |
||
831 | 836 | /** |
832 | 837 | * @author Monte Ohrt <monte at ohrt dot com>, modified by Amos Robinson |
833 | 838 | * <amos dot robinson at gmail dot com> |
839 | + * @param string $string |
|
834 | 840 | */ |
835 | 841 | function lx_close_tags($string) { |
836 | 842 | // match opened tags |