@@ -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'>"; |
@@ -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 |
@@ -221,6 +221,9 @@ |
||
| 221 | 221 | 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>' ; |
| 222 | 222 | } |
| 223 | 223 | |
| 224 | + /** |
|
| 225 | + * @param string $key_name |
|
| 226 | + */ |
|
| 224 | 227 | function extract_post_recursive( $key_name , $tmp_array ) { |
| 225 | 228 | $table = '' ; |
| 226 | 229 | $form = '' ; |
@@ -22,7 +22,7 @@ |
||
| 22 | 22 | * |
| 23 | 23 | * @var array $items associative array of items: [modid][catid][itemid] |
| 24 | 24 | * |
| 25 | - * @return boolean |
|
| 25 | + * @return false|null |
|
| 26 | 26 | * |
| 27 | 27 | */ |
| 28 | 28 | |
@@ -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()!='') { |
@@ -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()!='') { |
@@ -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()!='') { |