@@ -545,6 +545,9 @@ discard block |
||
| 545 | 545 | |
| 546 | 546 | |
| 547 | 547 | |
| 548 | + /** |
|
| 549 | + * @param integer $index |
|
| 550 | + */ |
|
| 548 | 551 | private function createDuplicableDynconf($index, absences_DynamicConfiguration $dynconf = null) |
| 549 | 552 | { |
| 550 | 553 | $W = bab_Widgets(); |
@@ -1027,6 +1030,9 @@ discard block |
||
| 1027 | 1030 | |
| 1028 | 1031 | |
| 1029 | 1032 | |
| 1033 | + /** |
|
| 1034 | + * @param integer $index |
|
| 1035 | + */ |
|
| 1030 | 1036 | private function createDuplicable($index, $values = null) |
| 1031 | 1037 | { |
| 1032 | 1038 | $W = bab_Widgets(); |
@@ -1686,6 +1692,9 @@ discard block |
||
| 1686 | 1692 | } |
| 1687 | 1693 | |
| 1688 | 1694 | |
| 1695 | + /** |
|
| 1696 | + * @param absences_RightCet $rightCet |
|
| 1697 | + */ |
|
| 1689 | 1698 | protected function getSavingPeriod($rightCet) |
| 1690 | 1699 | { |
| 1691 | 1700 | if ('0000-00-00' === $rightCet->saving_begin || '0000-00-00' === $rightCet->saving_end) |
@@ -50,6 +50,9 @@ |
||
| 50 | 50 | return $rightcet; |
| 51 | 51 | } |
| 52 | 52 | |
| 53 | + /** |
|
| 54 | + * @param integer $id_right |
|
| 55 | + */ |
|
| 53 | 56 | public static function getFromRight($id_right) |
| 54 | 57 | { |
| 55 | 58 | $rightcet = new absences_RightCet; |
@@ -55,6 +55,9 @@ |
||
| 55 | 55 | return $rightrule; |
| 56 | 56 | } |
| 57 | 57 | |
| 58 | + /** |
|
| 59 | + * @param integer $id_right |
|
| 60 | + */ |
|
| 58 | 61 | public static function getFromRight($id_right) |
| 59 | 62 | { |
| 60 | 63 | $rightrule = new absences_RightRule; |
@@ -172,6 +172,9 @@ |
||
| 172 | 172 | } |
| 173 | 173 | |
| 174 | 174 | |
| 175 | + /** |
|
| 176 | + * @param string $str |
|
| 177 | + */ |
|
| 175 | 178 | private function addMessage($str) { |
| 176 | 179 | $this->messages[] = $str; |
| 177 | 180 | } |
@@ -792,6 +792,7 @@ |
||
| 792 | 792 | /** |
| 793 | 793 | * Processes the array of $relative_days to $base and removes any |
| 794 | 794 | * which are not within the scope of our rule. |
| 795 | + * @param iCalDate $base |
|
| 795 | 796 | */ |
| 796 | 797 | function WithinScope( $base, $relative_days ) { |
| 797 | 798 | |
@@ -306,6 +306,8 @@ |
||
| 306 | 306 | |
| 307 | 307 | /** |
| 308 | 308 | * Tester si la demande du droit a date fixe existe |
| 309 | + * @param integer $id_user |
|
| 310 | + * @param integer $id_right |
|
| 309 | 311 | * @return bool |
| 310 | 312 | */ |
| 311 | 313 | function absences_isFixedCreated($id_user, $id_right) |
@@ -67,6 +67,7 @@ |
||
| 67 | 67 | * Inherit co-manager on subentities |
| 68 | 68 | * @param array $entities |
| 69 | 69 | * @param bool &$all_manager |
| 70 | + * @param boolean $all_manager |
|
| 70 | 71 | * @return array |
| 71 | 72 | */ |
| 72 | 73 | protected function inheritCoManager($entities, &$all_manager) |
@@ -814,6 +814,9 @@ |
||
| 814 | 814 | } |
| 815 | 815 | |
| 816 | 816 | |
| 817 | +/** |
|
| 818 | + * @param integer $nbmonth |
|
| 819 | + */ |
|
| 817 | 820 | function absences_getSearchLimit($nbmonth) |
| 818 | 821 | { |
| 819 | 822 | $initusers = (int) bab_rp('limit'); |
@@ -127,6 +127,9 @@ discard block |
||
| 127 | 127 | } |
| 128 | 128 | |
| 129 | 129 | |
| 130 | + /** |
|
| 131 | + * @param string $filename |
|
| 132 | + */ |
|
| 130 | 133 | protected function setHeaders($filename) |
| 131 | 134 | { |
| 132 | 135 | header("Content-Disposition: attachment; filename=\"".$filename.".csv\""."\n"); |
@@ -136,6 +139,9 @@ discard block |
||
| 136 | 139 | |
| 137 | 140 | |
| 138 | 141 | |
| 142 | + /** |
|
| 143 | + * @param string $strDate |
|
| 144 | + */ |
|
| 139 | 145 | protected function date($strDate) { |
| 140 | 146 | return bab_shortDate(bab_mktime($strDate), false); |
| 141 | 147 | } |