@@ -28,6 +28,9 @@ discard block |
||
| 28 | 28 | class absences_deleteVacationRequestCls extends absences_vacationRequestDetail |
| 29 | 29 | { |
| 30 | 30 | |
| 31 | + /** |
|
| 32 | + * @param boolean $manager_view |
|
| 33 | + */ |
|
| 31 | 34 | public function __construct($id, $manager_view) |
| 32 | 35 | { |
| 33 | 36 | parent::__construct($id); |
@@ -46,6 +49,9 @@ discard block |
||
| 46 | 49 | class absences_deleteCetDepositRequestCls extends absences_CetDepositRequestDetail |
| 47 | 50 | { |
| 48 | 51 | |
| 52 | + /** |
|
| 53 | + * @param boolean $manager_view |
|
| 54 | + */ |
|
| 49 | 55 | public function __construct($id, $manager_view) |
| 50 | 56 | { |
| 51 | 57 | parent::__construct($id); |
@@ -63,6 +69,9 @@ discard block |
||
| 63 | 69 | class absences_deleteWpRecoveryRequestCls extends absences_WpRecoveryDetail |
| 64 | 70 | { |
| 65 | 71 | |
| 72 | + /** |
|
| 73 | + * @param boolean $manager_view |
|
| 74 | + */ |
|
| 66 | 75 | public function __construct($id, $manager_view) |
| 67 | 76 | { |
| 68 | 77 | parent::__construct($id); |
@@ -26,6 +26,9 @@ |
||
| 26 | 26 | |
| 27 | 27 | class absences_ManagerMenu |
| 28 | 28 | { |
| 29 | + /** |
|
| 30 | + * @param string $name |
|
| 31 | + */ |
|
| 29 | 32 | protected function category($name) |
| 30 | 33 | { |
| 31 | 34 | $W = bab_Widgets(); |
@@ -222,7 +222,7 @@ |
||
| 222 | 222 | * Save entry to database |
| 223 | 223 | * without validity checking |
| 224 | 224 | * |
| 225 | - * @return bool |
|
| 225 | + * @return boolean|null |
|
| 226 | 226 | */ |
| 227 | 227 | public function save() |
| 228 | 228 | { |
@@ -204,6 +204,11 @@ |
||
| 204 | 204 | } |
| 205 | 205 | |
| 206 | 206 | |
| 207 | + /** |
|
| 208 | + * @param string $name |
|
| 209 | + * @param string $title |
|
| 210 | + * @param string $description |
|
| 211 | + */ |
|
| 207 | 212 | protected function boolfield($name, $title, $description = null) |
| 208 | 213 | { |
| 209 | 214 | $W = bab_Widgets(); |
@@ -67,6 +67,9 @@ |
||
| 67 | 67 | |
| 68 | 68 | |
| 69 | 69 | |
| 70 | + /** |
|
| 71 | + * @param integer $id |
|
| 72 | + */ |
|
| 70 | 73 | public function __construct($id_user, $id) |
| 71 | 74 | { |
| 72 | 75 | require_once dirname(__FILE__).'/entry.class.php'; |
@@ -90,6 +90,7 @@ discard block |
||
| 90 | 90 | |
| 91 | 91 | /** |
| 92 | 92 | * Method to sort requests by creation date |
| 93 | + * @return string |
|
| 93 | 94 | */ |
| 94 | 95 | public function createdOn() |
| 95 | 96 | { |
@@ -114,6 +115,9 @@ discard block |
||
| 114 | 115 | } |
| 115 | 116 | |
| 116 | 117 | |
| 118 | + /** |
|
| 119 | + * @param string $title |
|
| 120 | + */ |
|
| 117 | 121 | protected function labelledValue($title, $value) |
| 118 | 122 | { |
| 119 | 123 | $W = bab_Widgets(); |
@@ -187,6 +187,9 @@ discard block |
||
| 187 | 187 | |
| 188 | 188 | private $res; |
| 189 | 189 | |
| 190 | + /** |
|
| 191 | + * @param string $message |
|
| 192 | + */ |
|
| 190 | 193 | function __construct(absences_Request $request, $message) |
| 191 | 194 | { |
| 192 | 195 | $this->message = $message; |
@@ -277,6 +280,9 @@ discard block |
||
| 277 | 280 | |
| 278 | 281 | private $res; |
| 279 | 282 | |
| 283 | + /** |
|
| 284 | + * @param string $subject |
|
| 285 | + */ |
|
| 280 | 286 | function __construct(absences_Entry $entry, $subject) |
| 281 | 287 | { |
| 282 | 288 | $this->message = $subject; |
@@ -528,7 +528,7 @@ |
||
| 528 | 528 | |
| 529 | 529 | /** |
| 530 | 530 | * Save posted values |
| 531 | - * @return boolean |
|
| 531 | + * @return false|null |
|
| 532 | 532 | */ |
| 533 | 533 | public static function save() |
| 534 | 534 | { |
@@ -624,6 +624,9 @@ discard block |
||
| 624 | 624 | |
| 625 | 625 | |
| 626 | 626 | |
| 627 | + /** |
|
| 628 | + * @param double $quantity |
|
| 629 | + */ |
|
| 627 | 630 | protected function saveQuantityIncMonth($quantity) |
| 628 | 631 | { |
| 629 | 632 | require_once dirname(__FILE__).'/increment_right.class.php'; |
@@ -1078,6 +1081,7 @@ discard block |
||
| 1078 | 1081 | * |
| 1079 | 1082 | * @param string $message Generated message |
| 1080 | 1083 | * @param string $comment Author comment |
| 1084 | + * @param integer $id_author |
|
| 1081 | 1085 | */ |
| 1082 | 1086 | public function addMovement($message, $comment = '', $id_author = null) |
| 1083 | 1087 | { |
@@ -1328,7 +1332,7 @@ discard block |
||
| 1328 | 1332 | |
| 1329 | 1333 | |
| 1330 | 1334 | /** |
| 1331 | - * @return absences_IncrementRight[] |
|
| 1335 | + * @return absences_IncrementRightIterator |
|
| 1332 | 1336 | */ |
| 1333 | 1337 | public function getIncrementIterator() |
| 1334 | 1338 | { |