@@ -360,6 +360,8 @@ discard block |
||
360 | 360 | /** |
361 | 361 | * save_permissions() |
362 | 362 | * adapted from WF-Downloads |
363 | + * @param integer $id |
|
364 | + * @param string $perm_name |
|
363 | 365 | */ |
364 | 366 | |
365 | 367 | function lx_save_Permissions($groups, $id, $perm_name) { |
@@ -387,6 +389,9 @@ discard block |
||
387 | 389 | } |
388 | 390 | |
389 | 391 | //-- Initial Selector |
392 | +/** |
|
393 | + * @param integer $init |
|
394 | + */ |
|
390 | 395 | function lx_getinit($init) { |
391 | 396 | global $init; |
392 | 397 | echo "<select name='init'>"; |
@@ -40,6 +40,9 @@ |
||
40 | 40 | /**** |
41 | 41 | * Start Import |
42 | 42 | ****/ |
43 | +/** |
|
44 | + * @param string $msg |
|
45 | + */ |
|
43 | 46 | function showerror($msg) { |
44 | 47 | global $xoopsDB; |
45 | 48 | if ($xoopsDB->error()!='') { |
@@ -42,6 +42,9 @@ |
||
42 | 42 | /**** |
43 | 43 | * Start Import |
44 | 44 | ****/ |
45 | +/** |
|
46 | + * @param string $msg |
|
47 | + */ |
|
45 | 48 | function showerror($msg) { |
46 | 49 | global $xoopsDB; |
47 | 50 | if ($xoopsDB->error()!='') { |
@@ -41,6 +41,9 @@ |
||
41 | 41 | /**** |
42 | 42 | * Start Import |
43 | 43 | ****/ |
44 | +/** |
|
45 | + * @param string $msg |
|
46 | + */ |
|
44 | 47 | function showerror($msg) { |
45 | 48 | global $xoopsDB; |
46 | 49 | if ($xoopsDB->error()!='') { |
@@ -45,6 +45,9 @@ |
||
45 | 45 | * Start Import |
46 | 46 | ****/ |
47 | 47 | |
48 | +/** |
|
49 | + * @param string $msg |
|
50 | + */ |
|
48 | 51 | function showerror($msg) { |
49 | 52 | global $xoopsDB; |
50 | 53 | if ($xoopsDB->error()!='') { |
@@ -42,6 +42,9 @@ |
||
42 | 42 | * Start Import |
43 | 43 | ****/ |
44 | 44 | |
45 | +/** |
|
46 | + * @param string $msg |
|
47 | + */ |
|
45 | 48 | function showerror($msg) { |
46 | 49 | global $xoopsDB; |
47 | 50 | if ($xoopsDB->error()!='') { |
@@ -78,6 +78,9 @@ discard block |
||
78 | 78 | |
79 | 79 | /** |
80 | 80 | * Constructor |
81 | + * @param integer $modid |
|
82 | + * @param string $permname |
|
83 | + * @param string $permdesc |
|
81 | 84 | */ |
82 | 85 | function MyXoopsGroupPermForm($title, $modid, $permname, $permdesc) |
83 | 86 | { |
@@ -110,6 +113,8 @@ discard block |
||
110 | 113 | * Add appendix |
111 | 114 | * |
112 | 115 | * @access public |
116 | + * @param string $permName |
|
117 | + * @param string $itemName |
|
113 | 118 | */ |
114 | 119 | function addAppendix($permName,$itemId,$itemName) |
115 | 120 | { |
@@ -244,6 +249,7 @@ discard block |
||
244 | 249 | |
245 | 250 | /** |
246 | 251 | * Constructor |
252 | + * @param string $name |
|
247 | 253 | */ |
248 | 254 | function MyXoopsGroupFormCheckBox($caption, $name, $groupId, $values = null) |
249 | 255 | { |
@@ -14,6 +14,9 @@ |
||
14 | 14 | global $xoopsModuleConfig, $xoopsUser, $xoopsModule, $xoopsDB; |
15 | 15 | $go = isset($_POST['go']) ? $_POST['go'] : 0; |
16 | 16 | |
17 | +/** |
|
18 | + * @param string $msg |
|
19 | + */ |
|
17 | 20 | function showerror($msg) { |
18 | 21 | global $xoopsDB; |
19 | 22 | if ($xoopsDB->error()!='') { |
@@ -49,6 +49,9 @@ discard block |
||
49 | 49 | return $GLOBALS['xoopsConfig']['anonymous']; |
50 | 50 | } |
51 | 51 | |
52 | +/** |
|
53 | + * @param integer $user |
|
54 | + */ |
|
52 | 55 | function lx_getuserForm($user) { |
53 | 56 | global $xoopsDB, $xoopsConfig; |
54 | 57 | |
@@ -437,6 +440,11 @@ discard block |
||
437 | 440 | } |
438 | 441 | |
439 | 442 | //Retrieve moduleoptions equivalent to $Xoopsmoduleconfig |
443 | +/** |
|
444 | + * @param string $option |
|
445 | + * |
|
446 | + * @return string |
|
447 | + */ |
|
440 | 448 | function lx_getmoduleoption($option, $repmodule='lexikon') { |
441 | 449 | global $xoopsModuleConfig, $xoopsModule; |
442 | 450 | static $tbloptions= Array(); |
@@ -484,6 +492,8 @@ discard block |
||
484 | 492 | /** |
485 | 493 | * Retreive an editor according to the module's option "form_options" |
486 | 494 | * following function is from News modified by trabis |
495 | + * @param string $caption |
|
496 | + * @param string $name |
|
487 | 497 | */ |
488 | 498 | function &lx_getWysiwygForm($caption, $name, $value = '', $width = '100%', $height = '400px', $supplemental='') |
489 | 499 | { |
@@ -831,6 +841,7 @@ discard block |
||
831 | 841 | /** |
832 | 842 | * @author Monte Ohrt <monte at ohrt dot com>, modified by Amos Robinson |
833 | 843 | * <amos dot robinson at gmail dot com> |
844 | + * @param string $string |
|
834 | 845 | */ |
835 | 846 | function lx_close_tags($string) { |
836 | 847 | // match opened tags |