@@ -80,7 +80,7 @@ |
||
80 | 80 | * Or a string which gets added as first Option with value='', eg. lang('all'), can also be specified in the array with key '' |
81 | 81 | * @param boolean $nohtml if true, returns an array with the key 'selected' as the selected participants, |
82 | 82 | * and with the key 'participants' as the participants data as would fit in a select. |
83 | - * @param callback $label_callback=null callback to fetch a label for non-accounts |
|
83 | + * @param callback $label_callback callback to fetch a label for non-accounts |
|
84 | 84 | * @return string/array string with html for !$nohtml, array('selected' => $selected,'participants' => $select) |
85 | 85 | */ |
86 | 86 | function selection($name,$element_id,$selected,$use='accounts',$lines=0,$not=False,$options='',$onchange='',$select=False,$nohtml=false,$label_callback=null) |
@@ -37,8 +37,6 @@ discard block |
||
37 | 37 | * Hook called after new accounts have been added |
38 | 38 | * |
39 | 39 | * @param array $data |
40 | - * @param int $data['account_id'] numerical id |
|
41 | - * @param string $data['account_lid'] account-name |
|
42 | 40 | */ |
43 | 41 | static function addAccount($data) |
44 | 42 | { |
@@ -58,9 +56,6 @@ discard block |
||
58 | 56 | * Hook called after accounts has been modified |
59 | 57 | * |
60 | 58 | * @param array $data |
61 | - * @param int $data['account_id'] numerical id |
|
62 | - * @param string $data['account_lid'] new account-name |
|
63 | - * @param string $data['old_loginid'] old account-name |
|
64 | 59 | */ |
65 | 60 | static function editAccount($data) |
66 | 61 | { |
@@ -79,9 +74,6 @@ discard block |
||
79 | 74 | * Hook called before an account get deleted |
80 | 75 | * |
81 | 76 | * @param array $data |
82 | - * @param int $data['account_id'] numerical id |
|
83 | - * @param string $data['account_lid'] account-name |
|
84 | - * @param int $data['new_owner'] account-id of new owner, or false if data should get deleted |
|
85 | 77 | */ |
86 | 78 | static function deleteAccount($data) |
87 | 79 | { |
@@ -114,8 +106,6 @@ discard block |
||
114 | 106 | * Hook called after new groups have been added |
115 | 107 | * |
116 | 108 | * @param array $data |
117 | - * @param int $data['account_id'] numerical id |
|
118 | - * @param string $data['account_lid'] group-name |
|
119 | 109 | */ |
120 | 110 | static function addGroup($data) |
121 | 111 | { |
@@ -140,9 +130,6 @@ discard block |
||
140 | 130 | * or if the group directory exists and creates it if not. |
141 | 131 | * |
142 | 132 | * @param array $data |
143 | - * @param int $data['account_id'] numerical id |
|
144 | - * @param string $data['account_lid'] new group-name |
|
145 | - * @param string $data['old_name'] old account-name |
|
146 | 133 | */ |
147 | 134 | static function editGroup($data) |
148 | 135 | { |
@@ -170,8 +157,6 @@ discard block |
||
170 | 157 | * Hook called before a group get deleted |
171 | 158 | * |
172 | 159 | * @param array $data |
173 | - * @param int $data['account_id'] numerical id |
|
174 | - * @param string $data['account_lid'] account-name |
|
175 | 160 | */ |
176 | 161 | static function deleteGroup($data) |
177 | 162 | { |
@@ -454,7 +454,7 @@ discard block |
||
454 | 454 | * |
455 | 455 | * If you have cached data in your stream but not yet stored it into the underlying storage, you should do so now. |
456 | 456 | * |
457 | - * @return booelan TRUE if the cached data was successfully stored (or if there was no data to store), or FALSE if the data could not be stored. |
|
457 | + * @return boolean TRUE if the cached data was successfully stored (or if there was no data to store), or FALSE if the data could not be stored. |
|
458 | 458 | */ |
459 | 459 | function stream_flush ( ) |
460 | 460 | { |
@@ -856,7 +856,7 @@ discard block |
||
856 | 856 | * This method is called immediately when your stream object is created for examining directory contents with opendir(). |
857 | 857 | * |
858 | 858 | * @param string $path URL that was passed to opendir() and that this object is expected to explore. |
859 | - * @return booelan |
|
859 | + * @return boolean |
|
860 | 860 | */ |
861 | 861 | function dir_opendir ( $path, $options ) |
862 | 862 | { |
@@ -1213,7 +1213,7 @@ discard block |
||
1213 | 1213 | * It should reset the output generated by dir_readdir(). i.e.: |
1214 | 1214 | * The next call to dir_readdir() should return the first entry in the location returned by dir_opendir(). |
1215 | 1215 | * |
1216 | - * @return boolean |
|
1216 | + * @return boolean|null |
|
1217 | 1217 | */ |
1218 | 1218 | function dir_rewinddir ( ) |
1219 | 1219 | { |
@@ -1227,7 +1227,7 @@ discard block |
||
1227 | 1227 | * |
1228 | 1228 | * You should release any resources which were locked or allocated during the opening and use of the directory stream. |
1229 | 1229 | * |
1230 | - * @return boolean |
|
1230 | + * @return boolean|null |
|
1231 | 1231 | */ |
1232 | 1232 | function dir_closedir ( ) |
1233 | 1233 | { |
@@ -57,7 +57,7 @@ discard block |
||
57 | 57 | * Reimplemented to not check our vfs base path with realpath and connect to mysql DB |
58 | 58 | * |
59 | 59 | * @access public |
60 | - * @param $prefix =null prefix filesystem path with given path, eg. "/webdav" for owncloud 4.5 remote.php |
|
60 | + * @param string $prefix =null prefix filesystem path with given path, eg. "/webdav" for owncloud 4.5 remote.php |
|
61 | 61 | */ |
62 | 62 | function ServeRequest($prefix=null) |
63 | 63 | { |
@@ -76,7 +76,7 @@ discard block |
||
76 | 76 | * DELETE method handler |
77 | 77 | * |
78 | 78 | * @param array general parameter passing array |
79 | - * @return bool true on success |
|
79 | + * @return string true on success |
|
80 | 80 | */ |
81 | 81 | function DELETE($options) |
82 | 82 | { |
@@ -116,7 +116,7 @@ discard block |
||
116 | 116 | * Reimplemented to NOT use dirname/basename, which has problems with utf-8 chars |
117 | 117 | * |
118 | 118 | * @param array general parameter passing array |
119 | - * @return bool true on success |
|
119 | + * @return string true on success |
|
120 | 120 | */ |
121 | 121 | function MKCOL($options) |
122 | 122 | { |
@@ -151,7 +151,7 @@ discard block |
||
151 | 151 | * COPY method handler |
152 | 152 | * |
153 | 153 | * @param array general parameter passing array |
154 | - * @return bool true on success |
|
154 | + * @return string true on success |
|
155 | 155 | */ |
156 | 156 | function COPY($options, $del=false) |
157 | 157 | { |
@@ -477,7 +477,7 @@ discard block |
||
477 | 477 | * but in the regular vfs attributes. |
478 | 478 | * |
479 | 479 | * @param array general parameter passing array |
480 | - * @return bool true on success |
|
480 | + * @return string true on success |
|
481 | 481 | */ |
482 | 482 | function PROPPATCH(&$options) |
483 | 483 | { |
@@ -557,7 +557,7 @@ discard block |
||
557 | 557 | * LOCK method handler |
558 | 558 | * |
559 | 559 | * @param array general parameter passing array |
560 | - * @return bool true on success |
|
560 | + * @return string|boolean true on success |
|
561 | 561 | */ |
562 | 562 | function LOCK(&$options) |
563 | 563 | { |
@@ -583,7 +583,7 @@ discard block |
||
583 | 583 | * UNLOCK method handler |
584 | 584 | * |
585 | 585 | * @param array general parameter passing array |
586 | - * @return bool true on success |
|
586 | + * @return string true on success |
|
587 | 587 | */ |
588 | 588 | function UNLOCK(&$options) |
589 | 589 | { |
@@ -640,7 +640,7 @@ discard block |
||
640 | 640 | * Reimplement to add a Content-Disposition header, if ?download is appended to the REQUEST_URI |
641 | 641 | * |
642 | 642 | * @param array parameter passing array |
643 | - * @return bool true on success |
|
643 | + * @return boolean|null true on success |
|
644 | 644 | */ |
645 | 645 | function GET(&$options) |
646 | 646 | { |
@@ -959,7 +959,7 @@ discard block |
||
959 | 959 | * @author skeeter |
960 | 960 | * This function is used to retrieve a value from a user defined order of methods. |
961 | 961 | * $this->id = get_var('id',array('HTTP_POST_VARS'||'POST','HTTP_GET_VARS'||'GET','HTTP_COOKIE_VARS'||'COOKIE','GLOBAL','DEFAULT')); |
962 | - * @param $variable name |
|
962 | + * @param string $variable name |
|
963 | 963 | * @param $method ordered array of methods to search for supplied variable |
964 | 964 | * @param $default_value (optional) |
965 | 965 | */ |
@@ -1186,7 +1186,7 @@ discard block |
||
1186 | 1186 | * This is completely unnecessary, as you can use forward slashes in php under every OS -- RalfBecker 2005/11/09 |
1187 | 1187 | * |
1188 | 1188 | * @deprecated just use forward slashes supported by PHP on all OS |
1189 | - * @return file system separator |
|
1189 | + * @return string system separator |
|
1190 | 1190 | */ |
1191 | 1191 | function filesystem_separator() |
1192 | 1192 | { |
@@ -398,7 +398,7 @@ discard block |
||
398 | 398 | /** |
399 | 399 | * Returns the driver parameters for the specified backend. |
400 | 400 | * |
401 | - * @param mixed $backend The backend system (e.g. 'prefs', 'categories', |
|
401 | + * @param string $backend The backend system (e.g. 'prefs', 'categories', |
|
402 | 402 | * 'contacts') being used. |
403 | 403 | * The used configuration array will be |
404 | 404 | * $conf[$backend]. If an array gets passed, it will |
@@ -835,6 +835,7 @@ discard block |
||
835 | 835 | * Can be a pre-built string or an array of key/value |
836 | 836 | * pairs that will be assembled and html-encoded. |
837 | 837 | * @param optional string $dir The root graphics directory. |
838 | + * @param string $dir |
|
838 | 839 | * |
839 | 840 | * @return string The full image tag. |
840 | 841 | */ |
@@ -1028,7 +1029,7 @@ discard block |
||
1028 | 1029 | * |
1029 | 1030 | * @access public |
1030 | 1031 | * |
1031 | - * @param string|array $app The Horde application(s). |
|
1032 | + * @param string|array $apps The Horde application(s). |
|
1032 | 1033 | * @param mixed $theme The theme to use; specify an empty value to |
1033 | 1034 | * retrieve the theme from user preferences, and |
1034 | 1035 | * false for no theme. |
@@ -181,6 +181,8 @@ discard block |
||
181 | 181 | |
182 | 182 | /** |
183 | 183 | * @static |
184 | + * @param integer $month |
|
185 | + * @param integer $year |
|
184 | 186 | */ |
185 | 187 | function daysInMonth($month, $year) |
186 | 188 | { |
@@ -243,7 +245,7 @@ discard block |
||
243 | 245 | * |
244 | 246 | * @since Horde 3.2 |
245 | 247 | * |
246 | - * @return integer The week number. |
|
248 | + * @return double The week number. |
|
247 | 249 | */ |
248 | 250 | function weekOfMonth() |
249 | 251 | { |
@@ -253,7 +255,7 @@ discard block |
||
253 | 255 | /** |
254 | 256 | * Returns the week of the year, first Monday is first day of first week. |
255 | 257 | * |
256 | - * @return integer The week number. |
|
258 | + * @return string The week number. |
|
257 | 259 | */ |
258 | 260 | function weekOfYear() |
259 | 261 | { |
@@ -267,7 +269,7 @@ discard block |
||
267 | 269 | * |
268 | 270 | * @param integer $year The year to count the number of weeks in. |
269 | 271 | * |
270 | - * @return integer $numWeeks The number of weeks in $year. |
|
272 | + * @return string $numWeeks The number of weeks in $year. |
|
271 | 273 | */ |
272 | 274 | function weeksInYear($year) |
273 | 275 | { |
@@ -668,6 +670,9 @@ discard block |
||
668 | 670 | * This does NOT work with pre-1970 daylight saving times. |
669 | 671 | * |
670 | 672 | * @static |
673 | + * @param integer $hr |
|
674 | + * @param integer $min |
|
675 | + * @param integer $sec |
|
671 | 676 | */ |
672 | 677 | function _mktime($hr, $min, $sec, $mon = false, $day = false, |
673 | 678 | $year = false, $is_dst = false, $is_gmt = false) |
@@ -242,7 +242,7 @@ discard block |
||
242 | 242 | * if the attribute does not exist. |
243 | 243 | * |
244 | 244 | * @param string $name The name of the attribute. |
245 | - * @param mixed $default What to return if the attribute specified by |
|
245 | + * @param string $default What to return if the attribute specified by |
|
246 | 246 | * $name does not exist. |
247 | 247 | * |
248 | 248 | * @return mixed (string) The value of $name. |
@@ -371,7 +371,6 @@ discard block |
||
371 | 371 | * Locates the first child component of the specified class, and returns a |
372 | 372 | * reference to it. |
373 | 373 | * |
374 | - * @param string $type The type of component to find. |
|
375 | 374 | * |
376 | 375 | * @return boolean|Horde_iCalendar_* False if no subcomponent of the |
377 | 376 | * specified class exists or a reference |
@@ -1316,6 +1315,7 @@ discard block |
||
1316 | 1315 | |
1317 | 1316 | /** |
1318 | 1317 | * Parse a Time Period field. |
1318 | + * @param string $text |
|
1319 | 1319 | */ |
1320 | 1320 | function _parsePeriod($text) |
1321 | 1321 | { |
@@ -1348,6 +1348,7 @@ discard block |
||
1348 | 1348 | /** |
1349 | 1349 | * Grok the TZID and return an offset in seconds from UTC for this |
1350 | 1350 | * date and time. |
1351 | + * @param boolean $tzid |
|
1351 | 1352 | */ |
1352 | 1353 | function _parseTZID($date, $time, $tzid) |
1353 | 1354 | { |
@@ -156,7 +156,7 @@ |
||
156 | 156 | /** |
157 | 157 | * Returns any additional freebusy parameters. |
158 | 158 | * |
159 | - * @return array Additional parameters of the freebusy periods. |
|
159 | + * @return integer|null Additional parameters of the freebusy periods. |
|
160 | 160 | */ |
161 | 161 | function getExtraParams() |
162 | 162 | { |