@@ -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) |
@@ -495,6 +495,8 @@ |
||
| 495 | 495 | |
| 496 | 496 | |
| 497 | 497 | /** |
| 498 | + * @param integer $rfrom |
|
| 499 | + * @param integer $ide |
|
| 498 | 500 | * @return string |
| 499 | 501 | */ |
| 500 | 502 | public function getEditUrl($rfrom, $ide = null) |
@@ -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) |
@@ -495,6 +495,8 @@ |
||
| 495 | 495 | |
| 496 | 496 | |
| 497 | 497 | /** |
| 498 | + * @param integer $rfrom |
|
| 499 | + * @param integer $ide |
|
| 498 | 500 | * @return string |
| 499 | 501 | */ |
| 500 | 502 | public function getEditUrl($rfrom, $ide = null) |
@@ -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; |
@@ -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'); |