Completed
Push — master ( 0881bb...3a6ebc )
by Michael
04:47
created
xoops_trust_path/libs/altsys/class/D3LanguageManager.class.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -35,6 +35,9 @@
 block discarded – undo
35 35
 }
36 36
 
37 37
 
38
+    /**
39
+     * @param string $resource
40
+     */
38 41
     public function read($resource, $mydirname, $mytrustdirname = null, $read_once = true)
39 42
     {
40 43
         $d3file = XOOPS_ROOT_PATH.'/modules/'.$mydirname.'/mytrustdirname.php' ;
Please login to merge, or discard this patch.
xoops_trust_path/libs/altsys/class/d3utilities.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -261,6 +261,9 @@
 block discarded – undo
261 261
 			</form>\n" ;
262 262
     }
263 263
 
264
+    /**
265
+     * @param string $name
266
+     */
264 267
     public function get_select($name, $options, $current_value)
265 268
     {
266 269
         $ret = "<select name='".htmlspecialchars($name, ENT_QUOTES)."'>\n" ;
Please login to merge, or discard this patch.
xoops_trust_path/libs/altsys/class/MyBlocksAdminForX20S.class.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -69,6 +69,9 @@
 block discarded – undo
69 69
 
70 70
 
71 71
 // private
72
+/**
73
+ * @param integer $target_side
74
+ */
72 75
 public function renderRadio4BlockPosition($target_side, $block_data)
73 76
 {
74 77
     $bid = intval($block_data['bid']) ;
Please login to merge, or discard this patch.
xoops_trust_path/libs/altsys/class/SetupAltsysLangMgr.class.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -47,6 +47,10 @@
 block discarded – undo
47 47
         parent::prepare();
48 48
     }
49 49
 
50
+    /**
51
+     * @param string $dirname
52
+     * @param string $fileBodyName
53
+     */
50 54
     public function _loadLanguage($dirname, $fileBodyName)
51 55
     {
52 56
         // read/check once (selected_theme)/language/(lang).php
Please login to merge, or discard this patch.
xoops_trust_path/libs/altsys/include/Archive_Zip.php 1 patch
Doc Comments   +12 added lines, -6 removed lines patch added patch discarded remove patch
@@ -136,6 +136,9 @@  discard block
 block discarded – undo
136 136
     */
137 137
 //HACK by domifara
138 138
 //	function Archive_Zip($p_zipname)
139
+    /**
140
+     * @param string $p_zipname
141
+     */
139 142
     public function __construct($p_zipname)
140 143
     {
141 144
 
@@ -177,7 +180,7 @@  discard block
 block discarded – undo
177 180
     * @param  mixed  $p_filelist  The list of the files or folders to add.
178 181
     *                             It can be a string with filenames separated
179 182
     *                             by a comma, or an array of filenames.
180
-    * @param  mixed  $p_params  An array of variable parameters and values.
183
+    * @param  integer  $p_params  An array of variable parameters and values.
181 184
     * @return mixed An array of file description on success,
182 185
     *               an error code on error
183 186
     */
@@ -248,7 +251,7 @@  discard block
 block discarded – undo
248 251
     * @param    mixed  $p_filelist  The list of the files or folders to add.
249 252
     *                               It can be a string with filenames separated
250 253
     *                               by a comma, or an array of filenames.
251
-    * @param    mixed  $p_params  An array of variable parameters and values.
254
+    * @param    integer  $p_params  An array of variable parameters and values.
252 255
     * @return mixed An array of file description on success,
253 256
     *               0 on an unrecoverable failure, an error code is logged.
254 257
     */
@@ -399,7 +402,7 @@  discard block
 block discarded – undo
399 402
     *                            each entry extraction.
400 403
     *
401 404
     * @access public
402
-    * @param    mixed  $p_params  An array of variable parameters and values.
405
+    * @param    integer  $p_params  An array of variable parameters and values.
403 406
     * @return mixed An array of file description on success,
404 407
     *               0 on an unrecoverable failure, an error code is logged.
405 408
     */
@@ -514,7 +517,6 @@  discard block
 block discarded – undo
514 517
     *    status : not_exist, ok
515 518
     *
516 519
     * @access public
517
-    * @param    mixed  $p_params  {Description}
518 520
     * @return mixed An array with the global properties or 0 on error.
519 521
     */
520 522
     public function properties()
@@ -1000,6 +1002,7 @@  discard block
 block discarded – undo
1000 1002
   *
1001 1003
   * { Description }
1002 1004
   *
1005
+  * @param string $p_mode
1003 1006
   */
1004 1007
   public function _openFd($p_mode)
1005 1008
   {
@@ -1571,6 +1574,7 @@  discard block
 block discarded – undo
1571 1574
   *
1572 1575
   * { Description }
1573 1576
   *
1577
+  * @param string $p_comment
1574 1578
   */
1575 1579
   public function _writeCentralHeader($p_nb_entries, $p_size, $p_offset, $p_comment)
1576 1580
   {
@@ -3148,8 +3152,6 @@  discard block
 block discarded – undo
3148 3152
   *
3149 3153
   * { Description }
3150 3154
   *
3151
-  * @param integer $p_error_code
3152
-  * @param string $p_error_string
3153 3155
   */
3154 3156
   public function _check_parameters(&$p_params, $p_default)
3155 3157
   {
@@ -3379,6 +3381,8 @@  discard block
 block discarded – undo
3379 3381
   * { Description }
3380 3382
   *
3381 3383
   * @param integer $p_mode
3384
+  * @param integer $p_src
3385
+  * @param integer $p_dest
3382 3386
   */
3383 3387
   public function _tool_CopyBlock($p_src, $p_dest, $p_size, $p_mode=0)
3384 3388
   {
@@ -3440,6 +3444,8 @@  discard block
 block discarded – undo
3440 3444
   *
3441 3445
   * { Description }
3442 3446
   *
3447
+  * @param string $p_src
3448
+  * @param string $p_dest
3443 3449
   */
3444 3450
   public function _tool_Rename($p_src, $p_dest)
3445 3451
   {
Please login to merge, or discard this patch.
xoops_trust_path/libs/altsys/include/gtickets.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -233,6 +233,9 @@
 block discarded – undo
233 233
         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>' ;
234 234
     }
235 235
 
236
+        /**
237
+         * @param string $key_name
238
+         */
236 239
         public function extract_post_recursive($key_name, $tmp_array)
237 240
         {
238 241
             $table = '' ;
Please login to merge, or discard this patch.
xoops_trust_path/libs/altsys/include/Text_Diff.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -441,6 +441,7 @@  discard block
 block discarded – undo
441 441
      * the two files do not match, and likewise that the last lines do not
442 442
      * match.  The caller must trim matching lines from the beginning and end
443 443
      * of the portions it is going to specify.
444
+     * @param double $nchunks
444 445
      */
445 446
     public function _diag($xoff, $xlim, $yoff, $ylim, $nchunks)
446 447
     {
@@ -561,6 +562,10 @@  discard block
 block discarded – undo
561 562
      *
562 563
      * Note that XLIM, YLIM are exclusive bounds.  All line numbers are
563 564
      * origin-0 and discarded lines are not counted.
565
+     * @param integer $xoff
566
+     * @param integer $xlim
567
+     * @param integer $yoff
568
+     * @param integer $ylim
564 569
      */
565 570
     public function _compareseq($xoff, $xlim, $yoff, $ylim)
566 571
     {
Please login to merge, or discard this patch.
xoops_trust_path/libs/altsys/include/Text_Diff_Renderer.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -125,6 +125,12 @@  discard block
 block discarded – undo
125 125
         return $output . $this->_endDiff();
126 126
     }
127 127
 
128
+    /**
129
+     * @param integer $xbeg
130
+     * @param integer $xlen
131
+     * @param integer $ybeg
132
+     * @param integer $ylen
133
+     */
128 134
     public function _block($xbeg, $xlen, $ybeg, $ylen, &$edits)
129 135
     {
130 136
         $output = $this->_startBlock($this->_blockHeader($xbeg, $xlen, $ybeg, $ylen));
@@ -174,6 +180,9 @@  discard block
 block discarded – undo
174 180
         return $xbeg . ($xlen ? ($ylen ? 'c' : 'd') : 'a') . $ybeg;
175 181
     }
176 182
 
183
+    /**
184
+     * @param string $header
185
+     */
177 186
     public function _startBlock($header)
178 187
     {
179 188
         return $header . "\n";
Please login to merge, or discard this patch.
xoops_trust_path/libs/altsys/include/Text_Diff_Renderer_inline.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -63,6 +63,9 @@  discard block
 block discarded – undo
63 63
         return $header;
64 64
     }
65 65
 
66
+    /**
67
+     * @param string[] $lines
68
+     */
66 69
     public function _lines($lines, $prefix = ' ', $encode = true)
67 70
     {
68 71
         if ($encode) {
@@ -128,6 +131,9 @@  discard block
 block discarded – undo
128 131
         return str_replace($nl, "\n", $renderer->render($diff)) . "\n";
129 132
     }
130 133
 
134
+    /**
135
+     * @param string $string
136
+     */
131 137
     public function _splitOnWords($string, $newlineEscape = "\n")
132 138
     {
133 139
         $words = array();
Please login to merge, or discard this patch.