@@ -194,6 +194,9 @@ discard block |
||
| 194 | 194 | * @param int $mode |
| 195 | 195 | * @param string $sep |
| 196 | 196 | */ |
| 197 | +/** |
|
| 198 | + * @param string $mail_subject |
|
| 199 | + */ |
|
| 197 | 200 | function extcal_SendMail( |
| 198 | 201 | $destinataires, |
| 199 | 202 | $mail_fromname, |
@@ -280,6 +283,9 @@ discard block |
||
| 280 | 283 | * |
| 281 | 284 | * @return string |
| 282 | 285 | */ |
| 286 | +/** |
|
| 287 | + * @param integer $mode |
|
| 288 | + */ |
|
| 283 | 289 | function extcal_getHeader($mode, $emailSender) |
| 284 | 290 | { |
| 285 | 291 | //mode = 0 pas d'entete |
@@ -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 | { |
@@ -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) { |
@@ -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 = ''; |
@@ -38,7 +38,7 @@ discard block |
||
| 38 | 38 | } |
| 39 | 39 | |
| 40 | 40 | /** |
| 41 | - * @param $id |
|
| 41 | + * @param integer $id |
|
| 42 | 42 | * |
| 43 | 43 | * @return mixed |
| 44 | 44 | */ |
@@ -86,7 +86,7 @@ discard block |
||
| 86 | 86 | * @param $format |
| 87 | 87 | * @param $timestamp |
| 88 | 88 | * |
| 89 | - * @return mixed |
|
| 89 | + * @return string |
|
| 90 | 90 | */ |
| 91 | 91 | public function getFormatedDate($format, $timestamp) |
| 92 | 92 | { |
@@ -463,8 +463,8 @@ |
||
| 463 | 463 | /**************************************************************************/ |
| 464 | 464 | /** |
| 465 | 465 | * @param $color |
| 466 | - * @param $plancher |
|
| 467 | - * @param $plafond |
|
| 466 | + * @param integer $plancher |
|
| 467 | + * @param integer $plafond |
|
| 468 | 468 | * |
| 469 | 469 | * @return string |
| 470 | 470 | */ |
@@ -455,11 +455,11 @@ |
||
| 455 | 455 | * @param array $event |
| 456 | 456 | * @param array $eventsArray |
| 457 | 457 | * @param Extcal\Time $timeHandler |
| 458 | - * @param $startMonth |
|
| 459 | - * @param $endMonth |
|
| 458 | + * @param integer $startMonth |
|
| 459 | + * @param integer $endMonth |
|
| 460 | 460 | * @param $cats |
| 461 | 461 | * |
| 462 | - * @return bool |
|
| 462 | + * @return false|null |
|
| 463 | 463 | */ |
| 464 | 464 | function bExtcalMinicalAddEventToArray($event, &$eventsArray, $timeHandler, $startMonth, $endMonth, $cats) |
| 465 | 465 | { |