@@ -145,7 +145,7 @@ discard block |
||
145 | 145 | /** |
146 | 146 | * Returns the date as an associative array (helper method) |
147 | 147 | * |
148 | - * @param mixed $stamp timestamp (leave empty for current timestamp) |
|
148 | + * @param integer $stamp timestamp (leave empty for current timestamp) |
|
149 | 149 | * |
150 | 150 | * @return array |
151 | 151 | * @access public |
@@ -265,7 +265,7 @@ discard block |
||
265 | 265 | * |
266 | 266 | * @param array $sDates array containing Calendar objects to select (optional) |
267 | 267 | * |
268 | - * @return boolean |
|
268 | + * @return boolean|null |
|
269 | 269 | * @access public |
270 | 270 | * @abstract |
271 | 271 | */ |
@@ -24,7 +24,7 @@ |
||
24 | 24 | var $entries = array(); |
25 | 25 | |
26 | 26 | /** |
27 | - * @param $calendar |
|
27 | + * @param Calendar_Day $calendar |
|
28 | 28 | */ |
29 | 29 | function DiaryEvent($calendar) |
30 | 30 | { |
@@ -367,7 +367,7 @@ |
||
367 | 367 | * |
368 | 368 | * @param int timestamp (depending on implementation) |
369 | 369 | * |
370 | - * @return boolean |
|
370 | + * @return boolean|null |
|
371 | 371 | * @access protected |
372 | 372 | */ |
373 | 373 | function isToday($stamp) |
@@ -200,6 +200,9 @@ discard block |
||
200 | 200 | * @param int &$h hour (13) |
201 | 201 | * @param int &$i minute (34) |
202 | 202 | * @param int &$s second (53) |
203 | + * @param integer $y |
|
204 | + * @param integer $m |
|
205 | + * @param integer $d |
|
203 | 206 | * |
204 | 207 | * @return void |
205 | 208 | * @access protected |
@@ -425,7 +428,7 @@ discard block |
||
425 | 428 | * @param int $m month (9) |
426 | 429 | * @param int $d day (4) |
427 | 430 | * |
428 | - * @return array (0, 1, 2, 3, 4, 5, 6) 1 = Monday |
|
431 | + * @return integer[] (0, 1, 2, 3, 4, 5, 6) 1 = Monday |
|
429 | 432 | * @access protected |
430 | 433 | */ |
431 | 434 | function getWeekDays($y=null, $m=null, $d=null) |
@@ -499,7 +502,7 @@ discard block |
||
499 | 502 | /** |
500 | 503 | * Checks if the given day is the current day |
501 | 504 | * |
502 | - * @param mixed $stamp Any timestamp format recognized by Pear::Date |
|
505 | + * @param string $stamp Any timestamp format recognized by Pear::Date |
|
503 | 506 | * |
504 | 507 | * @return boolean |
505 | 508 | * @access protected |
@@ -381,7 +381,7 @@ discard block |
||
381 | 381 | * @param int $m month (9) |
382 | 382 | * @param int $d day (4) |
383 | 383 | * |
384 | - * @return array (0,1,2,3,4,5,6) 1 = Monday |
|
384 | + * @return integer[] (0,1,2,3,4,5,6) 1 = Monday |
|
385 | 385 | * @access protected |
386 | 386 | */ |
387 | 387 | function getWeekDays($y=null, $m=null, $d=null) |
@@ -455,7 +455,7 @@ discard block |
||
455 | 455 | /** |
456 | 456 | * Checks if the given day is the current day |
457 | 457 | * |
458 | - * @param mixed $stamp Any timestamp format recognized by Pear::Date |
|
458 | + * @param integer $stamp Any timestamp format recognized by Pear::Date |
|
459 | 459 | * |
460 | 460 | * @return boolean |
461 | 461 | * @access protected |
@@ -197,7 +197,7 @@ |
||
197 | 197 | /** |
198 | 198 | * Returns the first day of the month |
199 | 199 | * |
200 | - * @return int |
|
200 | + * @return string |
|
201 | 201 | * @access protected |
202 | 202 | * @see Calendar_Engine_Interface::getFirstDayOfWeek() |
203 | 203 | */ |
@@ -129,7 +129,7 @@ discard block |
||
129 | 129 | /** |
130 | 130 | * Gets the URI string for the previous calendar unit |
131 | 131 | * |
132 | - * @param object $Calendar subclassed from Calendar e.g. Calendar_Month |
|
132 | + * @param Calendar_Decorator_Uri $Calendar subclassed from Calendar e.g. Calendar_Month |
|
133 | 133 | * @param string $unit calendar unit (year|month|week|day|hour|minute|second) |
134 | 134 | * |
135 | 135 | * @return string |
@@ -163,7 +163,7 @@ discard block |
||
163 | 163 | /** |
164 | 164 | * Gets the URI string for the next calendar unit |
165 | 165 | * |
166 | - * @param object $Calendar subclassed from Calendar e.g. Calendar_Month |
|
166 | + * @param Calendar_Decorator_Uri $Calendar subclassed from Calendar e.g. Calendar_Month |
|
167 | 167 | * @param string $unit calendar unit (year|month|week|day|hour|minute|second) |
168 | 168 | * |
169 | 169 | * @return string |
@@ -43,7 +43,7 @@ |
||
43 | 43 | * |
44 | 44 | * @internal param bool $encode To sanitizer the text? |
45 | 45 | * |
46 | - * @return array array of name/value pairs assigned to form elements |
|
46 | + * @return boolean array of name/value pairs assigned to form elements |
|
47 | 47 | */ |
48 | 48 | function getAddBaliseTable() |
49 | 49 | { |
@@ -43,7 +43,7 @@ discard block |
||
43 | 43 | } |
44 | 44 | |
45 | 45 | /** |
46 | - * @param $id |
|
46 | + * @param integer $id |
|
47 | 47 | * |
48 | 48 | * @return mixed |
49 | 49 | */ |
@@ -91,7 +91,7 @@ discard block |
||
91 | 91 | * @param $format |
92 | 92 | * @param $timestamp |
93 | 93 | * |
94 | - * @return mixed |
|
94 | + * @return string |
|
95 | 95 | */ |
96 | 96 | function getFormatedDate($format, $timestamp) |
97 | 97 | { |