@@ -82,6 +82,12 @@ discard block |
||
| 82 | 82 | */ |
| 83 | 83 | //HACK by domifara |
| 84 | 84 | // public function MyXoopsGroupPermForm($title, $modid, $permname, $permdesc) |
| 85 | + /** |
|
| 86 | + * @param string $title |
|
| 87 | + * @param integer $modid |
|
| 88 | + * @param string $permname |
|
| 89 | + * @param string $permdesc |
|
| 90 | + */ |
|
| 85 | 91 | public function __construct($title, $modid, $permname, $permdesc) |
| 86 | 92 | { |
| 87 | 93 | // $this->XoopsForm($title, 'groupperm_form', XOOPS_URL.'/modules/system/admin/groupperm.php', 'post'); GIJ |
@@ -112,6 +118,9 @@ discard block |
||
| 112 | 118 | * Add appendix |
| 113 | 119 | * |
| 114 | 120 | * @access public |
| 121 | + * @param string $permName |
|
| 122 | + * @param integer $itemId |
|
| 123 | + * @param string $itemName |
|
| 115 | 124 | */ |
| 116 | 125 | public function addAppendix($permName, $itemId, $itemName) |
| 117 | 126 | { |
@@ -251,6 +260,7 @@ discard block |
||
| 251 | 260 | |
| 252 | 261 | /** |
| 253 | 262 | * Constructor |
| 263 | + * @param string $name |
|
| 254 | 264 | */ |
| 255 | 265 | public function MyXoopsGroupFormCheckBox($caption, $name, $groupId, $values = null) |
| 256 | 266 | { |
@@ -441,6 +441,7 @@ discard block |
||
| 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 |
||
| 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 | { |
@@ -125,6 +125,12 @@ discard block |
||
| 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 |
||
| 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"; |
@@ -63,6 +63,9 @@ discard block |
||
| 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 |
||
| 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(); |