@@ -28,7 +28,7 @@ |
||
28 | 28 | * Create a session or if the user has no account return authenticate header and 401 Unauthorized |
29 | 29 | * |
30 | 30 | * @param array &$account |
31 | - * @return int session-id |
|
31 | + * @return string session-id |
|
32 | 32 | */ |
33 | 33 | function check_access(&$account) |
34 | 34 | { |
@@ -151,7 +151,7 @@ discard block |
||
151 | 151 | * |
152 | 152 | * @param string $path |
153 | 153 | * @param array $filter |
154 | - * @param array|boolean $start false=return all or array(start,num) |
|
154 | + * @param integer[] $start false=return all or array(start,num) |
|
155 | 155 | * @return array with "files" array with values for keys path and props |
156 | 156 | */ |
157 | 157 | function &propfind_callback($path, array $filter, $start) |
@@ -192,7 +192,6 @@ discard block |
||
192 | 192 | * Read an entry |
193 | 193 | * |
194 | 194 | * @param string|int $id |
195 | - * @param string $path =null implementation can use it, used in call from _common_get_put_delete |
|
196 | 195 | * @return array|boolean array with entry, false if no read rights, null if $id does not exist |
197 | 196 | */ |
198 | 197 | abstract function read($id /*,$path=null*/); |
@@ -237,7 +236,7 @@ discard block |
||
237 | 236 | * Get the etag for an entry, can be reimplemented for other algorithm or field names |
238 | 237 | * |
239 | 238 | * @param array|int $entry array with event or cal_id |
240 | - * @return string|boolean string with etag or false |
|
239 | + * @return false|string string with etag or false |
|
241 | 240 | */ |
242 | 241 | function get_etag($entry) |
243 | 242 | { |
@@ -422,7 +421,7 @@ discard block |
||
422 | 421 | /** |
423 | 422 | * Identify know GroupDAV agents by HTTP_USER_AGENT header |
424 | 423 | * |
425 | - * @return string|boolean agent name or false |
|
424 | + * @return string|false agent name or false |
|
426 | 425 | */ |
427 | 426 | static function get_agent() |
428 | 427 | { |
@@ -376,7 +376,6 @@ discard block |
||
376 | 376 | * Get options from $sel_options array for a given selectbox name |
377 | 377 | * |
378 | 378 | * @param string $name |
379 | - * @param boolean $no_lang=false value of no_lang attribute |
|
380 | 379 | * @return array |
381 | 380 | */ |
382 | 381 | public static function selOptions($name) |
@@ -415,7 +414,7 @@ discard block |
||
415 | 414 | * |
416 | 415 | * @param string $widget_type |
417 | 416 | * @param string $legacy_options options string of widget |
418 | - * @param boolean $no_lang=false initial value of no_lang attribute (some types set it to true) |
|
417 | + * @param boolean $no_lang initial value of no_lang attribute (some types set it to true) |
|
419 | 418 | * @param boolean $readonly =false |
420 | 419 | * @param mixed $value =null value for readonly |
421 | 420 | * @param string $form_name form-name of widget, used to store unavailable cats |
@@ -356,11 +356,6 @@ |
||
356 | 356 | /** |
357 | 357 | * Add menu items to the topmenu template class to be displayed |
358 | 358 | * |
359 | - * @param array $app application data |
|
360 | - * @param mixed $alt_label string with alternative menu item label default value = null |
|
361 | - * @param string $urlextra string with alternate additional code inside <a>-tag |
|
362 | - * @access protected |
|
363 | - * @return void |
|
364 | 359 | */ |
365 | 360 | function _add_topmenu_item(array $app_data,$alt_label=null) |
366 | 361 | { |
@@ -27,7 +27,7 @@ |
||
27 | 27 | /** |
28 | 28 | * Exports records as defined in $_definition |
29 | 29 | * |
30 | - * @param egw_record $_definition |
|
30 | + * @param importexport_definition $_definition |
|
31 | 31 | */ |
32 | 32 | public function export( $_stream, importexport_definition $_definition) { |
33 | 33 | $options = $_definition->plugin_options; |
@@ -28,7 +28,7 @@ |
||
28 | 28 | * Create a session or if the user has no account return authenticate header and 401 Unauthorized |
29 | 29 | * |
30 | 30 | * @param array &$account |
31 | - * @return int session-id |
|
31 | + * @return string session-id |
|
32 | 32 | */ |
33 | 33 | function check_access(&$account) |
34 | 34 | { |
@@ -31,7 +31,7 @@ |
||
31 | 31 | /** |
32 | 32 | * Exports records as defined in $_definition |
33 | 33 | * |
34 | - * @param egw_record $_definition |
|
34 | + * @param importexport_definition $_definition |
|
35 | 35 | */ |
36 | 36 | public function export( $_stream, importexport_definition $_definition) |
37 | 37 | { |
@@ -27,7 +27,7 @@ |
||
27 | 27 | /** |
28 | 28 | * Exports records as defined in $_definition |
29 | 29 | * |
30 | - * @param egw_record $_definition |
|
30 | + * @param importexport_definition $_definition |
|
31 | 31 | */ |
32 | 32 | public function export( $_stream, importexport_definition $_definition) { |
33 | 33 | $options = $_definition->plugin_options; |
@@ -101,8 +101,7 @@ |
||
101 | 101 | /** |
102 | 102 | * imports entries according to given definition object. |
103 | 103 | * @param resource $_stream |
104 | - * @param string $_charset |
|
105 | - * @param definition $_definition |
|
104 | + * @param importexport_definition $_definition |
|
106 | 105 | */ |
107 | 106 | public function import( $_stream, importexport_definition $_definition ) { |
108 | 107 |