@@ -1,6 +1,9 @@ |
||
1 | 1 | <?php |
2 | 2 | class altsysUtils |
3 | 3 | { |
4 | + /** |
|
5 | + * @param string $name |
|
6 | + */ |
|
4 | 7 | public static function getDelegateCallbackClassNames($name, $doRegist = true) |
5 | 8 | { |
6 | 9 | $names = array(); |
@@ -487,6 +487,12 @@ discard block |
||
487 | 487 | } |
488 | 488 | |
489 | 489 | |
490 | + /** |
|
491 | + * @param integer $bside |
|
492 | + * @param integer $bweight |
|
493 | + * @param integer $bvisible |
|
494 | + * @param integer $bcachetime |
|
495 | + */ |
|
490 | 496 | public function update_block($bid, $bside, $bweight, $bvisible, $btitle, $bcontent, $bctype, $bcachetime, $options=array()) |
491 | 497 | { |
492 | 498 | global $xoopsConfig; |
@@ -645,6 +651,9 @@ discard block |
||
645 | 651 | } |
646 | 652 | |
647 | 653 | |
654 | + /** |
|
655 | + * @param integer $bid |
|
656 | + */ |
|
648 | 657 | public function do_delete($bid) |
649 | 658 | { |
650 | 659 | $bid = (int)$bid; |
@@ -670,6 +679,9 @@ discard block |
||
670 | 679 | } |
671 | 680 | |
672 | 681 | //HACK add by domifara |
682 | +/** |
|
683 | + * @param integer $bid |
|
684 | + */ |
|
673 | 685 | public function do_deleteBlockReadGroupPerm($bid) |
674 | 686 | { |
675 | 687 | $bid = (int)$bid; |
@@ -678,6 +690,9 @@ discard block |
||
678 | 690 | $this->db->query($sql) ; |
679 | 691 | } |
680 | 692 | |
693 | + /** |
|
694 | + * @param integer $bid |
|
695 | + */ |
|
681 | 696 | public function form_delete($bid) |
682 | 697 | { |
683 | 698 | $bid = (int)$bid; |
@@ -707,6 +722,9 @@ discard block |
||
707 | 722 | } |
708 | 723 | |
709 | 724 | |
725 | + /** |
|
726 | + * @param integer $bid |
|
727 | + */ |
|
710 | 728 | public function do_clone($bid) |
711 | 729 | { |
712 | 730 | $bid = (int)$bid; |
@@ -785,6 +803,9 @@ discard block |
||
785 | 803 | } |
786 | 804 | |
787 | 805 | |
806 | + /** |
|
807 | + * @param integer $bid |
|
808 | + */ |
|
788 | 809 | public function do_edit($bid) |
789 | 810 | { |
790 | 811 | $bid = (int)$bid; |
@@ -828,6 +849,9 @@ discard block |
||
828 | 849 | } |
829 | 850 | |
830 | 851 | |
852 | + /** |
|
853 | + * @param integer $bid |
|
854 | + */ |
|
831 | 855 | public function form_edit($bid, $mode = 'edit') |
832 | 856 | { |
833 | 857 | $bid = (int)$bid; |
@@ -91,6 +91,9 @@ |
||
91 | 91 | |
92 | 92 | |
93 | 93 | // private |
94 | +/** |
|
95 | + * @param integer $target_side |
|
96 | + */ |
|
94 | 97 | public function renderRadio4BlockPosition($target_side, $block_data) |
95 | 98 | { |
96 | 99 | $bid = (int)$block_data['bid']; |
@@ -68,6 +68,9 @@ |
||
68 | 68 | |
69 | 69 | |
70 | 70 | // private |
71 | +/** |
|
72 | + * @param integer $target_side |
|
73 | + */ |
|
71 | 74 | public function renderRadio4BlockPosition($target_side, $block_data) |
72 | 75 | { |
73 | 76 | $bid = (int)$block_data['bid']; |
@@ -136,6 +136,9 @@ discard block |
||
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 | |
@@ -176,7 +179,7 @@ discard block |
||
176 | 179 | * @param mixed $p_filelist The list of the files or folders to add. |
177 | 180 | * It can be a string with filenames separated |
178 | 181 | * by a comma, or an array of filenames. |
179 | - * @param mixed $p_params An array of variable parameters and values. |
|
182 | + * @param integer $p_params An array of variable parameters and values. |
|
180 | 183 | * @return mixed An array of file description on success, |
181 | 184 | * an error code on error |
182 | 185 | */ |
@@ -247,7 +250,7 @@ discard block |
||
247 | 250 | * @param mixed $p_filelist The list of the files or folders to add. |
248 | 251 | * It can be a string with filenames separated |
249 | 252 | * by a comma, or an array of filenames. |
250 | - * @param mixed $p_params An array of variable parameters and values. |
|
253 | + * @param integer $p_params An array of variable parameters and values. |
|
251 | 254 | * @return mixed An array of file description on success, |
252 | 255 | * 0 on an unrecoverable failure, an error code is logged. |
253 | 256 | */ |
@@ -397,7 +400,7 @@ discard block |
||
397 | 400 | * each entry extraction. |
398 | 401 | * |
399 | 402 | * @access public |
400 | - * @param mixed $p_params An array of variable parameters and values. |
|
403 | + * @param integer $p_params An array of variable parameters and values. |
|
401 | 404 | * @return mixed An array of file description on success, |
402 | 405 | * 0 on an unrecoverable failure, an error code is logged. |
403 | 406 | */ |
@@ -512,7 +515,6 @@ discard block |
||
512 | 515 | * status : not_exist, ok |
513 | 516 | * |
514 | 517 | * @access public |
515 | - * @param mixed $p_params {Description} |
|
516 | 518 | * @return mixed An array with the global properties or 0 on error. |
517 | 519 | */ |
518 | 520 | public function properties() |
@@ -996,6 +998,7 @@ discard block |
||
996 | 998 | * |
997 | 999 | * { Description } |
998 | 1000 | * |
1001 | + * @param string $p_mode |
|
999 | 1002 | */ |
1000 | 1003 | public function _openFd($p_mode) |
1001 | 1004 | { |
@@ -1565,6 +1568,7 @@ discard block |
||
1565 | 1568 | * |
1566 | 1569 | * { Description } |
1567 | 1570 | * |
1571 | + * @param string $p_comment |
|
1568 | 1572 | */ |
1569 | 1573 | public function _writeCentralHeader($p_nb_entries, $p_size, $p_offset, $p_comment) |
1570 | 1574 | { |
@@ -3140,8 +3144,6 @@ discard block |
||
3140 | 3144 | * |
3141 | 3145 | * { Description } |
3142 | 3146 | * |
3143 | - * @param integer $p_error_code |
|
3144 | - * @param string $p_error_string |
|
3145 | 3147 | */ |
3146 | 3148 | public function _check_parameters(&$p_params, $p_default) |
3147 | 3149 | { |
@@ -3371,6 +3373,8 @@ discard block |
||
3371 | 3373 | * { Description } |
3372 | 3374 | * |
3373 | 3375 | * @param integer $p_mode |
3376 | + * @param integer $p_src |
|
3377 | + * @param integer $p_dest |
|
3374 | 3378 | */ |
3375 | 3379 | public function _tool_CopyBlock($p_src, $p_dest, $p_size, $p_mode=0) |
3376 | 3380 | { |
@@ -3432,6 +3436,8 @@ discard block |
||
3432 | 3436 | * |
3433 | 3437 | * { Description } |
3434 | 3438 | * |
3439 | + * @param string $p_src |
|
3440 | + * @param string $p_dest |
|
3435 | 3441 | */ |
3436 | 3442 | public function _tool_Rename($p_src, $p_dest) |
3437 | 3443 | { |
@@ -70,6 +70,12 @@ discard block |
||
70 | 70 | */ |
71 | 71 | //HACK by domifara |
72 | 72 | // public function MyXoopsGroupPermForm($title, $modid, $permname, $permdesc) |
73 | + /** |
|
74 | + * @param string $title |
|
75 | + * @param integer $modid |
|
76 | + * @param string $permname |
|
77 | + * @param string $permdesc |
|
78 | + */ |
|
73 | 79 | public function __construct($title, $modid, $permname, $permdesc) |
74 | 80 | { |
75 | 81 | // $this->XoopsForm($title, 'groupperm_form', XOOPS_URL.'/modules/system/admin/groupperm.php', 'post'); GIJ |
@@ -100,6 +106,9 @@ discard block |
||
100 | 106 | * Add appendix |
101 | 107 | * |
102 | 108 | * @access public |
109 | + * @param string $permName |
|
110 | + * @param integer $itemId |
|
111 | + * @param string $itemName |
|
103 | 112 | */ |
104 | 113 | public function addAppendix($permName, $itemId, $itemName) |
105 | 114 | { |
@@ -239,6 +248,7 @@ discard block |
||
239 | 248 | |
240 | 249 | /** |
241 | 250 | * Constructor |
251 | + * @param string $name |
|
242 | 252 | */ |
243 | 253 | public function __construct($caption, $name, $groupId, $values = null) |
244 | 254 | { |