@@ -136,7 +136,7 @@ discard block |
||
136 | 136 | /** |
137 | 137 | * Returns the date as an associative array (helper method). |
138 | 138 | * |
139 | - * @param mixed $stamp timestamp (leave empty for current timestamp) |
|
139 | + * @param integer $stamp timestamp (leave empty for current timestamp) |
|
140 | 140 | * |
141 | 141 | * @return array |
142 | 142 | */ |
@@ -242,7 +242,7 @@ discard block |
||
242 | 242 | * |
243 | 243 | * @param array $sDates array containing Calendar objects to select (optional) |
244 | 244 | * |
245 | - * @return bool |
|
245 | + * @return boolean|null |
|
246 | 246 | * @abstract |
247 | 247 | */ |
248 | 248 | public function build($sDates = []) |
@@ -25,7 +25,7 @@ |
||
25 | 25 | public $entries = []; |
26 | 26 | |
27 | 27 | /** |
28 | - * @param $calendar |
|
28 | + * @param Calendar_Day $calendar |
|
29 | 29 | */ |
30 | 30 | public function __construct($calendar) |
31 | 31 | { |
@@ -457,12 +457,12 @@ |
||
457 | 457 | /** |
458 | 458 | * @param array $event |
459 | 459 | * @param array $eventsArray |
460 | - * @param Time $timeHandler |
|
461 | - * @param $startMonth |
|
462 | - * @param $endMonth |
|
460 | + * @param Extcal\Time $timeHandler |
|
461 | + * @param integer $startMonth |
|
462 | + * @param integer $endMonth |
|
463 | 463 | * @param $cats |
464 | 464 | * |
465 | - * @return bool |
|
465 | + * @return false|null |
|
466 | 466 | */ |
467 | 467 | function bExtcalMinicalAddEventToArray($event, &$eventsArray, $timeHandler, $startMonth, $endMonth, $cats) |
468 | 468 | { |
@@ -255,6 +255,10 @@ |
||
255 | 255 | * @param $max |
256 | 256 | * @return mixed |
257 | 257 | */ |
258 | + |
|
259 | + /** |
|
260 | + * @param integer $min |
|
261 | + */ |
|
258 | 262 | public static function bornerValeur($val, $min, $max) |
259 | 263 | { |
260 | 264 | if ($val < $min) { |
@@ -577,7 +577,7 @@ discard block |
||
577 | 577 | * @param $cat |
578 | 578 | * @param int $nbDays |
579 | 579 | * |
580 | - * @return CriteriaCompo |
|
580 | + * @return null|\CriteriaElement |
|
581 | 581 | */ |
582 | 582 | public function _getEventWeekCriteria($day, $month, $year, $cat=0, $nbDays = 7) |
583 | 583 | { |
@@ -599,7 +599,7 @@ discard block |
||
599 | 599 | * @param $year |
600 | 600 | * @param $cat |
601 | 601 | * |
602 | - * @return CriteriaCompo |
|
602 | + * @return null|\CriteriaElement |
|
603 | 603 | */ |
604 | 604 | public function _getEventMonthCriteria($month, $year, $cat=0) |
605 | 605 | { |
@@ -620,7 +620,7 @@ discard block |
||
620 | 620 | * @param $year |
621 | 621 | * @param int $cat |
622 | 622 | * |
623 | - * @return CriteriaCompo |
|
623 | + * @return null|\CriteriaElement |
|
624 | 624 | */ |
625 | 625 | public function _getEventYearCriteria($year, $cat = 0) |
626 | 626 | { |
@@ -890,7 +890,7 @@ discard block |
||
890 | 890 | |
891 | 891 | /** |
892 | 892 | * @param $criteria |
893 | - * @param $cats |
|
893 | + * @param integer $cats |
|
894 | 894 | */ |
895 | 895 | public function _addCatSelectCriteria(&$criteria, $cats=null) |
896 | 896 | { |
@@ -1693,7 +1693,7 @@ discard block |
||
1693 | 1693 | |
1694 | 1694 | /** |
1695 | 1695 | * @param $month |
1696 | - * @param $year |
|
1696 | + * @param string $year |
|
1697 | 1697 | * @param $dayCode |
1698 | 1698 | * |
1699 | 1699 | * @return int |
@@ -512,7 +512,7 @@ discard block |
||
512 | 512 | |
513 | 513 | /** |
514 | 514 | * @param $objects |
515 | - * @param array $externalKeys |
|
515 | + * @param string[] $externalKeys |
|
516 | 516 | * @param string $format |
517 | 517 | * |
518 | 518 | * @return array |
@@ -619,7 +619,7 @@ discard block |
||
619 | 619 | } |
620 | 620 | |
621 | 621 | /** |
622 | - * @param null|CriteriaElement $criteria |
|
622 | + * @param null|\CriteriaElement $criteria |
|
623 | 623 | * @param string $sum |
624 | 624 | * |
625 | 625 | * @return array|string |
@@ -660,7 +660,7 @@ discard block |
||
660 | 660 | } |
661 | 661 | |
662 | 662 | /** |
663 | - * @param null|CriteriaElement $criteria |
|
663 | + * @param null|\CriteriaElement $criteria |
|
664 | 664 | * @param string $max |
665 | 665 | * |
666 | 666 | * @return array|string |
@@ -23,8 +23,8 @@ |
||
23 | 23 | class FormFileCheckBox extends \XoopsFormCheckBox |
24 | 24 | { |
25 | 25 | /** |
26 | - * @param $caption |
|
27 | - * @param $name |
|
26 | + * @param string $caption |
|
27 | + * @param string $name |
|
28 | 28 | * @param null $value |
29 | 29 | * |
30 | 30 | * @return FormFileCheckBox |
@@ -24,9 +24,9 @@ |
||
24 | 24 | class FormRRuleCheckBox extends \XoopsFormCheckBox |
25 | 25 | { |
26 | 26 | /** |
27 | - * @param $caption |
|
28 | - * @param $name |
|
29 | - * @param null $value |
|
27 | + * @param string $caption |
|
28 | + * @param string $name |
|
29 | + * @param string $value |
|
30 | 30 | */ |
31 | 31 | public function __construct($caption, $name, $value = null) |
32 | 32 | { |
@@ -178,7 +178,7 @@ discard block |
||
178 | 178 | /** |
179 | 179 | * Set the value. |
180 | 180 | * |
181 | - * @param $value int |
|
181 | + * @param integer $value int |
|
182 | 182 | */ |
183 | 183 | public function setValue($value) |
184 | 184 | { |
@@ -197,7 +197,7 @@ discard block |
||
197 | 197 | /** |
198 | 198 | * Set the min value. |
199 | 199 | * |
200 | - * @param $min int |
|
200 | + * @param integer $min int |
|
201 | 201 | */ |
202 | 202 | public function setMin($min) |
203 | 203 | { |
@@ -215,7 +215,7 @@ discard block |
||
215 | 215 | /** |
216 | 216 | * Set the max value - must be more great then min. |
217 | 217 | * |
218 | - * @param $max int |
|
218 | + * @param integer $max int |
|
219 | 219 | */ |
220 | 220 | public function setMax($max) |
221 | 221 | { |
@@ -235,7 +235,7 @@ discard block |
||
235 | 235 | * Set the small increment when click a short time on up down nutton |
236 | 236 | * must be " > 0 ". |
237 | 237 | * |
238 | - * @param $smallIncrement |
|
238 | + * @param integer $smallIncrement |
|
239 | 239 | * |
240 | 240 | * @internal param int $value |
241 | 241 | */ |
@@ -259,7 +259,7 @@ discard block |
||
259 | 259 | /** |
260 | 260 | * Set the large increment when click a long time on up down nutton. |
261 | 261 | * |
262 | - * @param $largeIncrement int |
|
262 | + * @param integer $largeIncrement int |
|
263 | 263 | */ |
264 | 264 | public function setLargeIncrement($largeIncrement) |
265 | 265 | { |
@@ -282,7 +282,7 @@ discard block |
||
282 | 282 | * Set the size in nb car of the input text for the value |
283 | 283 | * must be 2 car min. |
284 | 284 | * |
285 | - * @param $size mixed |
|
285 | + * @param integer $size mixed |
|
286 | 286 | */ |
287 | 287 | public function setSize($size) |
288 | 288 | { |
@@ -307,7 +307,7 @@ discard block |
||
307 | 307 | /** |
308 | 308 | * Set the shortname of the folder images. |
309 | 309 | * |
310 | - * @param $folder string |
|
310 | + * @param string $folder string |
|
311 | 311 | */ |
312 | 312 | public function setImgFolder($folder) |
313 | 313 | { |
@@ -327,7 +327,7 @@ discard block |
||
327 | 327 | /** |
328 | 328 | * Set the label of unites between value and buttons. |
329 | 329 | * |
330 | - * @param $unite string |
|
330 | + * @param string $unite string |
|
331 | 331 | */ |
332 | 332 | public function setUnite($unite) |
333 | 333 | { |
@@ -345,7 +345,7 @@ discard block |
||
345 | 345 | /** |
346 | 346 | * Set the style CSS of the text. |
347 | 347 | * |
348 | - * @param $style string |
|
348 | + * @param string $style string |
|
349 | 349 | */ |
350 | 350 | public function setStyleText($style) |
351 | 351 | { |
@@ -365,7 +365,7 @@ discard block |
||
365 | 365 | /** |
366 | 366 | * Set the style CSS of the frame. |
367 | 367 | * |
368 | - * @param $style string |
|
368 | + * @param string $style string |
|
369 | 369 | */ |
370 | 370 | public function setStyleBordure($style) |
371 | 371 | { |
@@ -385,7 +385,7 @@ discard block |
||
385 | 385 | /** |
386 | 386 | * Set MinMaxVisible : show the button to go min and max value. |
387 | 387 | * |
388 | - * @param $visible bool |
|
388 | + * @param boolean $visible bool |
|
389 | 389 | */ |
390 | 390 | public function setMinMaxVisible($visible) |
391 | 391 | { |
@@ -494,6 +494,11 @@ discard block |
||
494 | 494 | * @param string $default |
495 | 495 | * @return string |
496 | 496 | */ |
497 | + |
|
498 | + /** |
|
499 | + * @param string $attribut |
|
500 | + * @param string $value |
|
501 | + */ |
|
497 | 502 | public function htmlAddAttribut($attribut, $value, $default = '') |
498 | 503 | { |
499 | 504 | $r = ''; |