Completed
Push — master ( ded118...cf7347 )
by Michael
02:48
created
admin/functions.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -360,6 +360,8 @@  discard block
 block discarded – undo
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
 block discarded – undo
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'>";
Please login to merge, or discard this patch.
admin/mygrouppermform.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -78,6 +78,9 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
244 249
 
245 250
     /**
246 251
      * Constructor
252
+     * @param string $name
247 253
      */
248 254
     function MyXoopsGroupFormCheckBox($caption, $name, $groupId, $values = null)
249 255
     {
Please login to merge, or discard this patch.
admin/upgrade.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -14,6 +14,9 @@
 block discarded – undo
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()!='') {
Please login to merge, or discard this patch.
include/functions.php 1 patch
Doc Comments   +11 added lines patch added patch discarded remove patch
@@ -49,6 +49,9 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
Please login to merge, or discard this patch.
include/gtickets.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -221,6 +221,9 @@
 block discarded – undo
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 = '' ;
Please login to merge, or discard this patch.
include/plugin.tag.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
admin/importdictionary.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -14,6 +14,9 @@
 block discarded – undo
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()!='') {
Please login to merge, or discard this patch.
admin/importglossaire.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -14,6 +14,9 @@
 block discarded – undo
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()!='') {
Please login to merge, or discard this patch.
admin/importwiwimod.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -14,6 +14,9 @@
 block discarded – undo
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()!='') {
Please login to merge, or discard this patch.