@@ -6,8 +6,8 @@ |
||
| 6 | 6 | class ExtcalFormFileCheckBox extends XoopsFormCheckBox |
| 7 | 7 | { |
| 8 | 8 | /** |
| 9 | - * @param $caption |
|
| 10 | - * @param $name |
|
| 9 | + * @param string $caption |
|
| 10 | + * @param string $name |
|
| 11 | 11 | * @param null $value |
| 12 | 12 | * |
| 13 | 13 | * @return ExtcalFormFileCheckBox |
@@ -6,9 +6,9 @@ |
||
| 6 | 6 | class ExtcalFormRRuleCheckBox extends XoopsFormCheckBox |
| 7 | 7 | { |
| 8 | 8 | /** |
| 9 | - * @param $caption |
|
| 10 | - * @param $name |
|
| 11 | - * @param null $value |
|
| 9 | + * @param string $caption |
|
| 10 | + * @param string $name |
|
| 11 | + * @param string $value |
|
| 12 | 12 | */ |
| 13 | 13 | public function __construct($caption, $name, $value = null) |
| 14 | 14 | { |
@@ -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 = ''; |
@@ -146,9 +146,9 @@ discard block |
||
| 146 | 146 | // $p_level : Level of trace required. |
| 147 | 147 | // -------------------------------------------------------------------------------- |
| 148 | 148 | /** |
| 149 | - * @param $p_file |
|
| 150 | - * @param $p_line |
|
| 151 | - * @param $p_name |
|
| 149 | + * @param string $p_file |
|
| 150 | + * @param integer $p_line |
|
| 151 | + * @param string $p_name |
|
| 152 | 152 | * @param string $p_param |
| 153 | 153 | * @param string $p_message |
| 154 | 154 | */ |
@@ -213,8 +213,8 @@ discard block |
||
| 213 | 213 | // $p_level : Level of trace required. |
| 214 | 214 | // -------------------------------------------------------------------------------- |
| 215 | 215 | /** |
| 216 | - * @param $p_file |
|
| 217 | - * @param $p_line |
|
| 216 | + * @param string $p_file |
|
| 217 | + * @param integer $p_line |
|
| 218 | 218 | * @param int $p_return |
| 219 | 219 | * @param string $p_message |
| 220 | 220 | */ |
@@ -279,9 +279,9 @@ discard block |
||
| 279 | 279 | // Parameters : |
| 280 | 280 | // -------------------------------------------------------------------------------- |
| 281 | 281 | /** |
| 282 | - * @param $p_file |
|
| 283 | - * @param $p_line |
|
| 284 | - * @param $p_level |
|
| 282 | + * @param string $p_file |
|
| 283 | + * @param integer $p_line |
|
| 284 | + * @param integer $p_level |
|
| 285 | 285 | * @param string $p_message |
| 286 | 286 | */ |
| 287 | 287 | function TrFctMessage($p_file, $p_line, $p_level, $p_message = '') |
@@ -24,7 +24,7 @@ |
||
| 24 | 24 | public $entries = array(); |
| 25 | 25 | |
| 26 | 26 | /** |
| 27 | - * @param $calendar |
|
| 27 | + * @param Calendar_Day $calendar |
|
| 28 | 28 | */ |
| 29 | 29 | public function __construct($calendar) |
| 30 | 30 | { |
@@ -192,6 +192,9 @@ discard block |
||
| 192 | 192 | * @param int &$h hour (13) |
| 193 | 193 | * @param int &$i minute (34) |
| 194 | 194 | * @param int &$s second (53) |
| 195 | + * @param integer $y |
|
| 196 | + * @param integer $m |
|
| 197 | + * @param integer $d |
|
| 195 | 198 | */ |
| 196 | 199 | public function adjustDate(&$y, &$m, &$d, &$h, &$i, &$s) |
| 197 | 200 | { |
@@ -407,7 +410,7 @@ discard block |
||
| 407 | 410 | * @param int $m month (9) |
| 408 | 411 | * @param int $d day (4) |
| 409 | 412 | * |
| 410 | - * @return array (0, 1, 2, 3, 4, 5, 6) 1 = Monday |
|
| 413 | + * @return integer[] (0, 1, 2, 3, 4, 5, 6) 1 = Monday |
|
| 411 | 414 | */ |
| 412 | 415 | public function getWeekDays($y = null, $m = null, $d = null) |
| 413 | 416 | { |
@@ -476,7 +479,7 @@ discard block |
||
| 476 | 479 | /** |
| 477 | 480 | * Checks if the given day is the current day. |
| 478 | 481 | * |
| 479 | - * @param mixed $stamp Any timestamp format recognized by Pear::Date |
|
| 482 | + * @param string $stamp Any timestamp format recognized by Pear::Date |
|
| 480 | 483 | * |
| 481 | 484 | * @return bool |
| 482 | 485 | */ |
@@ -363,7 +363,7 @@ discard block |
||
| 363 | 363 | * @param int $m month (9) |
| 364 | 364 | * @param int $d day (4) |
| 365 | 365 | * |
| 366 | - * @return array (0,1,2,3,4,5,6) 1 = Monday |
|
| 366 | + * @return integer[] (0,1,2,3,4,5,6) 1 = Monday |
|
| 367 | 367 | */ |
| 368 | 368 | public function getWeekDays($y = null, $m = null, $d = null) |
| 369 | 369 | { |
@@ -432,7 +432,7 @@ discard block |
||
| 432 | 432 | /** |
| 433 | 433 | * Checks if the given day is the current day. |
| 434 | 434 | * |
| 435 | - * @param mixed $stamp Any timestamp format recognized by Pear::Date |
|
| 435 | + * @param integer $stamp Any timestamp format recognized by Pear::Date |
|
| 436 | 436 | * |
| 437 | 437 | * @return bool |
| 438 | 438 | */ |
@@ -171,7 +171,7 @@ |
||
| 171 | 171 | /** |
| 172 | 172 | * Returns the first day of the month. |
| 173 | 173 | * |
| 174 | - * @return int |
|
| 174 | + * @return string |
|
| 175 | 175 | * |
| 176 | 176 | * @see Calendar_Engine_Interface::getFirstDayOfWeek() |
| 177 | 177 | */ |
@@ -137,7 +137,7 @@ discard block |
||
| 137 | 137 | /** |
| 138 | 138 | * Gets the URI string for the previous calendar unit. |
| 139 | 139 | * |
| 140 | - * @param object $Calendar subclassed from Calendar e.g. Calendar_Month |
|
| 140 | + * @param Calendar_Decorator_Uri $Calendar subclassed from Calendar e.g. Calendar_Month |
|
| 141 | 141 | * @param string $unit calendar unit (year|month|week|day|hour|minute|second) |
| 142 | 142 | * |
| 143 | 143 | * @return string |
@@ -169,7 +169,7 @@ discard block |
||
| 169 | 169 | /** |
| 170 | 170 | * Gets the URI string for the next calendar unit. |
| 171 | 171 | * |
| 172 | - * @param object $Calendar subclassed from Calendar e.g. Calendar_Month |
|
| 172 | + * @param Calendar_Decorator_Uri $Calendar subclassed from Calendar e.g. Calendar_Month |
|
| 173 | 173 | * @param string $unit calendar unit (year|month|week|day|hour|minute|second) |
| 174 | 174 | * |
| 175 | 175 | * @return string |