@@ -199,6 +199,9 @@ |
||
| 199 | 199 | |
| 200 | 200 | |
| 201 | 201 | |
| 202 | + /** |
|
| 203 | + * @param double $value |
|
| 204 | + */ |
|
| 202 | 205 | protected function getSign($value) |
| 203 | 206 | { |
| 204 | 207 | if ($value >= 0) { |
@@ -43,6 +43,9 @@ |
||
| 43 | 43 | protected $withCardFrame; |
| 44 | 44 | |
| 45 | 45 | |
| 46 | + /** |
|
| 47 | + * @param boolean $withCardFrame |
|
| 48 | + */ |
|
| 46 | 49 | public function __construct(absences_CetDepositRequest $deposit = null, $withCardFrame = null) |
| 47 | 50 | { |
| 48 | 51 | $W = bab_Widgets(); |
@@ -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); |
@@ -81,7 +81,7 @@ discard block |
||
| 81 | 81 | |
| 82 | 82 | /** |
| 83 | 83 | * Get quantity |
| 84 | - * @return number |
|
| 84 | + * @return double |
|
| 85 | 85 | */ |
| 86 | 86 | public function getQuantity() |
| 87 | 87 | { |
@@ -121,7 +121,7 @@ discard block |
||
| 121 | 121 | /** |
| 122 | 122 | * |
| 123 | 123 | * @param absences_Entry $entry |
| 124 | - * @return absences_EntryElem |
|
| 124 | + * @return absences_DynamicRight |
|
| 125 | 125 | */ |
| 126 | 126 | public function setEntry(absences_Entry $entry) |
| 127 | 127 | { |
@@ -499,7 +499,7 @@ discard block |
||
| 499 | 499 | * Save entry to database |
| 500 | 500 | * without validity checking |
| 501 | 501 | * |
| 502 | - * @return bool |
|
| 502 | + * @return boolean|null |
|
| 503 | 503 | */ |
| 504 | 504 | public function save() |
| 505 | 505 | { |
@@ -1227,7 +1227,7 @@ discard block |
||
| 1227 | 1227 | * |
| 1228 | 1228 | * @param bab_CalendarPeriod $period |
| 1229 | 1229 | * |
| 1230 | - * @return AM | PM | AMPM |
|
| 1230 | + * @return string | PM | AMPM |
|
| 1231 | 1231 | */ |
| 1232 | 1232 | protected function getPeriodType(bab_CalendarPeriod $period) |
| 1233 | 1233 | { |
@@ -2315,6 +2315,8 @@ discard block |
||
| 2315 | 2315 | |
| 2316 | 2316 | |
| 2317 | 2317 | /** |
| 2318 | + * @param integer $rfrom |
|
| 2319 | + * @param integer $ide |
|
| 2318 | 2320 | * @return string |
| 2319 | 2321 | */ |
| 2320 | 2322 | public function getEditUrl($rfrom, $ide = null) |
@@ -140,6 +140,9 @@ discard block |
||
| 140 | 140 | } |
| 141 | 141 | |
| 142 | 142 | |
| 143 | + /** |
|
| 144 | + * @param double $quantity |
|
| 145 | + */ |
|
| 143 | 146 | private function numberFormat($quantity) |
| 144 | 147 | { |
| 145 | 148 | return number_format($quantity, 1, $this->sepdec, ''); |
@@ -389,7 +392,7 @@ discard block |
||
| 389 | 392 | |
| 390 | 393 | |
| 391 | 394 | /** |
| 392 | - * @return absences_Agent[] |
|
| 395 | + * @return absences_AgentIterator |
|
| 393 | 396 | */ |
| 394 | 397 | private function getUsersWithoutRequests() |
| 395 | 398 | { |
@@ -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(); |