@@ -188,7 +188,7 @@ discard block |
||
| 188 | 188 | /** |
| 189 | 189 | * Set the value |
| 190 | 190 | * |
| 191 | - * @param $value int |
|
| 191 | + * @param integer $value int |
|
| 192 | 192 | */ |
| 193 | 193 | function setValue($value) |
| 194 | 194 | { |
@@ -207,7 +207,7 @@ discard block |
||
| 207 | 207 | /** |
| 208 | 208 | * Set the min value |
| 209 | 209 | * |
| 210 | - * @param $min int |
|
| 210 | + * @param integer $min int |
|
| 211 | 211 | */ |
| 212 | 212 | function setMin($min) |
| 213 | 213 | { |
@@ -225,7 +225,7 @@ discard block |
||
| 225 | 225 | /** |
| 226 | 226 | * Set the max value - must be more great then min |
| 227 | 227 | * |
| 228 | - * @param $max int |
|
| 228 | + * @param integer $max int |
|
| 229 | 229 | */ |
| 230 | 230 | function setMax($max) |
| 231 | 231 | { |
@@ -246,6 +246,7 @@ discard block |
||
| 246 | 246 | * must be " > 0 " |
| 247 | 247 | * |
| 248 | 248 | * @param $value int |
| 249 | + * @param integer $smallIncrement |
|
| 249 | 250 | */ |
| 250 | 251 | function setSmallIncrement($smallIncrement) |
| 251 | 252 | { |
@@ -265,7 +266,7 @@ discard block |
||
| 265 | 266 | /** |
| 266 | 267 | * Set the large increment when click a long time on up down nutton |
| 267 | 268 | * |
| 268 | - * @param $largeIncrement int |
|
| 269 | + * @param integer $largeIncrement int |
|
| 269 | 270 | */ |
| 270 | 271 | function setLargeIncrement($largeIncrement) |
| 271 | 272 | { |
@@ -286,7 +287,7 @@ discard block |
||
| 286 | 287 | * Set the size in nb car of the input text for the value |
| 287 | 288 | * must be 2 car min |
| 288 | 289 | * |
| 289 | - * @param $size mixed |
|
| 290 | + * @param integer $size mixed |
|
| 290 | 291 | */ |
| 291 | 292 | function setSize($size) |
| 292 | 293 | { |
@@ -305,7 +306,7 @@ discard block |
||
| 305 | 306 | /** |
| 306 | 307 | * Set the shortname of the folder images |
| 307 | 308 | * |
| 308 | - * @param $folder string |
|
| 309 | + * @param string $folder string |
|
| 309 | 310 | */ |
| 310 | 311 | function setImgFolder($folder) |
| 311 | 312 | { |
@@ -323,7 +324,7 @@ discard block |
||
| 323 | 324 | /** |
| 324 | 325 | * Set the label of unites between value and buttons |
| 325 | 326 | * |
| 326 | - * @param $unite string |
|
| 327 | + * @param string $unite string |
|
| 327 | 328 | */ |
| 328 | 329 | function setUnite($unite) |
| 329 | 330 | { |
@@ -341,7 +342,7 @@ discard block |
||
| 341 | 342 | /** |
| 342 | 343 | * Set the style CSS of the text |
| 343 | 344 | * |
| 344 | - * @param $style string |
|
| 345 | + * @param string $style string |
|
| 345 | 346 | */ |
| 346 | 347 | function setStyleText($style) |
| 347 | 348 | { |
@@ -359,7 +360,7 @@ discard block |
||
| 359 | 360 | /** |
| 360 | 361 | * Set the style CSS of the frame |
| 361 | 362 | * |
| 362 | - * @param $style string |
|
| 363 | + * @param string $style string |
|
| 363 | 364 | */ |
| 364 | 365 | function setStyleBordure($style) |
| 365 | 366 | { |
@@ -377,7 +378,7 @@ discard block |
||
| 377 | 378 | /** |
| 378 | 379 | * Set MinMaxVisible : show the button to go min and max value |
| 379 | 380 | * |
| 380 | - * @param $visible bool |
|
| 381 | + * @param boolean $visible bool |
|
| 381 | 382 | */ |
| 382 | 383 | function setMinMaxVisible($visible) |
| 383 | 384 | { |
@@ -485,6 +486,10 @@ discard block |
||
| 485 | 486 | /******************************************************************** |
| 486 | 487 | * |
| 487 | 488 | *********************************************************************/ |
| 489 | +/** |
|
| 490 | + * @param string $attribut |
|
| 491 | + * @param string $value |
|
| 492 | + */ |
|
| 488 | 493 | function htmlAddAttribut($attribut, $value, $default = ''){ |
| 489 | 494 | |
| 490 | 495 | if ($value == ''){$value = $default;} |
@@ -250,7 +250,9 @@ discard block |
||
| 250 | 250 | function setSmallIncrement($smallIncrement) |
| 251 | 251 | { |
| 252 | 252 | $this->_smallIncrement = intval($smallIncrement); |
| 253 | - if ($this->_smallIncrement == 0) $this->_smallIncrement =1; |
|
| 253 | + if ($this->_smallIncrement == 0) { |
|
| 254 | + $this->_smallIncrement =1; |
|
| 255 | + } |
|
| 254 | 256 | } |
| 255 | 257 | |
| 256 | 258 | /*-----------------------------------------------------------------*/ |
@@ -270,7 +272,9 @@ discard block |
||
| 270 | 272 | function setLargeIncrement($largeIncrement) |
| 271 | 273 | { |
| 272 | 274 | $this->_largeIncrement = intval($largeIncrement); |
| 273 | - if ($this->_largeIncrement == 0) $this->_largeIncrement = 10; |
|
| 275 | + if ($this->_largeIncrement == 0) { |
|
| 276 | + $this->_largeIncrement = 10; |
|
| 277 | + } |
|
| 274 | 278 | } |
| 275 | 279 | |
| 276 | 280 | /*-----------------------------------------------------------------*/ |
@@ -291,7 +295,9 @@ discard block |
||
| 291 | 295 | function setSize($size) |
| 292 | 296 | { |
| 293 | 297 | $this->_size = $size; |
| 294 | - if ($this->_size == 0) $this->_size = 2; |
|
| 298 | + if ($this->_size == 0) { |
|
| 299 | + $this->_size = 2; |
|
| 300 | + } |
|
| 295 | 301 | } |
| 296 | 302 | /*-----------------------------------------------------------------*/ |
| 297 | 303 | function getImgFolder() |
@@ -309,7 +315,9 @@ discard block |
||
| 309 | 315 | */ |
| 310 | 316 | function setImgFolder($folder) |
| 311 | 317 | { |
| 312 | - if ($folder <> '' ) $this->_imgFolder = $folder; |
|
| 318 | + if ($folder <> '' ) { |
|
| 319 | + $this->_imgFolder = $folder; |
|
| 320 | + } |
|
| 313 | 321 | } |
| 314 | 322 | /*-----------------------------------------------------------------*/ |
| 315 | 323 | /** |
@@ -345,7 +353,9 @@ discard block |
||
| 345 | 353 | */ |
| 346 | 354 | function setStyleText($style) |
| 347 | 355 | { |
| 348 | - if ($style <> '') $this->_styleText = $style; |
|
| 356 | + if ($style <> '') { |
|
| 357 | + $this->_styleText = $style; |
|
| 358 | + } |
|
| 349 | 359 | } |
| 350 | 360 | /*-----------------------------------------------------------------*/ |
| 351 | 361 | /** |
@@ -363,7 +373,9 @@ discard block |
||
| 363 | 373 | */ |
| 364 | 374 | function setStyleBordure($style) |
| 365 | 375 | { |
| 366 | - if ($style <> '') $this->_styleBordure = $style; |
|
| 376 | + if ($style <> '') { |
|
| 377 | + $this->_styleBordure = $style; |
|
| 378 | + } |
|
| 367 | 379 | } |
| 368 | 380 | /*-----------------------------------------------------------------*/ |
| 369 | 381 | /** |
@@ -493,7 +505,7 @@ discard block |
||
| 493 | 505 | if (substr($value,0,strlen($attribut)) <> $attribut){ |
| 494 | 506 | $r ="{$attribut}=\"{$value}\""; |
| 495 | 507 | } |
| 496 | - }else{ |
|
| 508 | + } else{ |
|
| 497 | 509 | $r = ''; |
| 498 | 510 | } |
| 499 | 511 | |
@@ -450,9 +450,9 @@ |
||
| 450 | 450 | /** |
| 451 | 451 | * @param $event |
| 452 | 452 | * @param $eventsArray |
| 453 | - * @param $extcalTimeHandler |
|
| 454 | - * @param $startMonth |
|
| 455 | - * @param $endMonth |
|
| 453 | + * @param ExtcalTime $extcalTimeHandler |
|
| 454 | + * @param integer $startMonth |
|
| 455 | + * @param integer $endMonth |
|
| 456 | 456 | * @param $cats |
| 457 | 457 | */ |
| 458 | 458 | function bExtcalMinicalAddEventToArray( |
@@ -264,6 +264,10 @@ |
||
| 264 | 264 | * @param $max |
| 265 | 265 | * @return |
| 266 | 266 | */ |
| 267 | + |
|
| 268 | + /** |
|
| 269 | + * @param integer $min |
|
| 270 | + */ |
|
| 267 | 271 | Function bornerValeur($val, $min, $max) |
| 268 | 272 | { |
| 269 | 273 | |
@@ -791,7 +791,7 @@ discard block |
||
| 791 | 791 | /** |
| 792 | 792 | * @param $start |
| 793 | 793 | * @param $end |
| 794 | - * @param $cat |
|
| 794 | + * @param integer $cat |
|
| 795 | 795 | * @param $user |
| 796 | 796 | * |
| 797 | 797 | * @return CriteriaCompo |
@@ -1841,7 +1841,7 @@ discard block |
||
| 1841 | 1841 | |
| 1842 | 1842 | /** |
| 1843 | 1843 | * @param $month |
| 1844 | - * @param $year |
|
| 1844 | + * @param string $year |
|
| 1845 | 1845 | * @param $dayCode |
| 1846 | 1846 | * |
| 1847 | 1847 | * @return int |
@@ -1691,9 +1691,11 @@ |
||
| 1691 | 1691 | if ($occurEventStart <= $periodEnd // Event start falls within search period |
| 1692 | 1692 | && $occurEventEnd >= $periodStart // Event end falls within search period |
| 1693 | 1693 | && in_array($dayArray[date('w', $occurEventStart)], $eventOptions) |
| 1694 | - ) // This week day is selected |
|
| 1694 | + ) { |
|
| 1695 | + // This week day is selected |
|
| 1695 | 1696 | { |
| 1696 | 1697 | $event['event_start'] = $occurEventStart; |
| 1698 | + } |
|
| 1697 | 1699 | $event['event_end'] = $occurEventEnd; |
| 1698 | 1700 | |
| 1699 | 1701 | $recuEvents[] = $event; |
@@ -536,7 +536,7 @@ |
||
| 536 | 536 | |
| 537 | 537 | /** |
| 538 | 538 | * @param $objects |
| 539 | - * @param array $externalKeys |
|
| 539 | + * @param string[] $externalKeys |
|
| 540 | 540 | * @param string $format |
| 541 | 541 | * |
| 542 | 542 | * @return array |
@@ -9,7 +9,7 @@ |
||
| 9 | 9 | { |
| 10 | 10 | |
| 11 | 11 | /** |
| 12 | - * @param $form |
|
| 12 | + * @param ExtcalThemeForm $form |
|
| 13 | 13 | * @param int $startTS |
| 14 | 14 | * @param int $endTS |
| 15 | 15 | */ |
@@ -7,8 +7,8 @@ |
||
| 7 | 7 | { |
| 8 | 8 | |
| 9 | 9 | /** |
| 10 | - * @param $caption |
|
| 11 | - * @param $name |
|
| 10 | + * @param string $caption |
|
| 11 | + * @param string $name |
|
| 12 | 12 | * @param null $value |
| 13 | 13 | */ |
| 14 | 14 | function ExtcalFormFileCheckBox($caption, $name, $value = null) |
@@ -7,9 +7,9 @@ |
||
| 7 | 7 | { |
| 8 | 8 | |
| 9 | 9 | /** |
| 10 | - * @param $caption |
|
| 11 | - * @param $name |
|
| 12 | - * @param null $value |
|
| 10 | + * @param string $caption |
|
| 11 | + * @param string $name |
|
| 12 | + * @param string $value |
|
| 13 | 13 | */ |
| 14 | 14 | function ExtcalFormRRuleCheckBox($caption, $name, $value = null) |
| 15 | 15 | { |
@@ -1190,7 +1190,7 @@ discard block |
||
| 1190 | 1190 | /** |
| 1191 | 1191 | * @param $p_tarname |
| 1192 | 1192 | * @param $p_list |
| 1193 | - * @param $p_mode |
|
| 1193 | + * @param string $p_mode |
|
| 1194 | 1194 | * @param string $p_add_dir |
| 1195 | 1195 | * @param string $p_remove_dir |
| 1196 | 1196 | * |
@@ -1290,10 +1290,10 @@ discard block |
||
| 1290 | 1290 | /** |
| 1291 | 1291 | * @param $p_tarname |
| 1292 | 1292 | * @param $p_list |
| 1293 | - * @param $p_mode |
|
| 1293 | + * @param string $p_mode |
|
| 1294 | 1294 | * @param $p_list_detail |
| 1295 | - * @param $p_add_dir |
|
| 1296 | - * @param $p_remove_dir |
|
| 1295 | + * @param string $p_add_dir |
|
| 1296 | + * @param string $p_remove_dir |
|
| 1297 | 1297 | * |
| 1298 | 1298 | * @return int |
| 1299 | 1299 | */ |
@@ -2092,10 +2092,10 @@ discard block |
||
| 2092 | 2092 | * @param $p_tarname |
| 2093 | 2093 | * @param $p_file_list |
| 2094 | 2094 | * @param $p_list_detail |
| 2095 | - * @param $p_mode |
|
| 2096 | - * @param $p_path |
|
| 2095 | + * @param string $p_mode |
|
| 2096 | + * @param string $p_path |
|
| 2097 | 2097 | * @param $p_tar_mode |
| 2098 | - * @param $p_remove_path |
|
| 2098 | + * @param string $p_remove_path |
|
| 2099 | 2099 | * |
| 2100 | 2100 | * @return int |
| 2101 | 2101 | */ |
@@ -2648,8 +2648,8 @@ discard block |
||
| 2648 | 2648 | * @param $p_tarname |
| 2649 | 2649 | * @param $p_index_string |
| 2650 | 2650 | * @param $p_list_detail |
| 2651 | - * @param $p_path |
|
| 2652 | - * @param $p_remove_path |
|
| 2651 | + * @param string $p_path |
|
| 2652 | + * @param string $p_remove_path |
|
| 2653 | 2653 | * @param $p_tar_mode |
| 2654 | 2654 | * |
| 2655 | 2655 | * @return int |
@@ -3219,7 +3219,7 @@ discard block |
||
| 3219 | 3219 | * @param $p_tarname |
| 3220 | 3220 | * @param $p_file_list |
| 3221 | 3221 | * @param $p_list_detail |
| 3222 | - * @param $p_tar_mode |
|
| 3222 | + * @param string $p_tar_mode |
|
| 3223 | 3223 | * |
| 3224 | 3224 | * @return int |
| 3225 | 3225 | */ |
@@ -3513,9 +3513,9 @@ discard block |
||
| 3513 | 3513 | * @param $p_tarname |
| 3514 | 3514 | * @param $p_file_list |
| 3515 | 3515 | * @param $p_list_detail |
| 3516 | - * @param $p_tar_mode |
|
| 3517 | - * @param $p_add_dir |
|
| 3518 | - * @param $p_remove_dir |
|
| 3516 | + * @param string $p_tar_mode |
|
| 3517 | + * @param string $p_add_dir |
|
| 3518 | + * @param string $p_remove_dir |
|
| 3519 | 3519 | * |
| 3520 | 3520 | * @return int |
| 3521 | 3521 | */ |
@@ -3922,7 +3922,7 @@ discard block |
||
| 3922 | 3922 | // Return Values : |
| 3923 | 3923 | // -------------------------------------------------------------------------------- |
| 3924 | 3924 | /** |
| 3925 | - * @param $v_binary_data |
|
| 3925 | + * @param string $v_binary_data |
|
| 3926 | 3926 | * @param $v_header |
| 3927 | 3927 | * |
| 3928 | 3928 | * @return int |