@@ -77,8 +77,7 @@ |
||
77 | 77 | /** |
78 | 78 | * imports entries according to given definition object. |
79 | 79 | * @param resource $_stream |
80 | - * @param string $_charset |
|
81 | - * @param definition $_definition |
|
80 | + * @param importexport_definition $_definition |
|
82 | 81 | */ |
83 | 82 | public function import( $_stream, importexport_definition $_definition ) { |
84 | 83 | $import_csv = new importexport_import_csv( $_stream, array( |
@@ -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 |
@@ -102,7 +102,6 @@ |
||
102 | 102 | * @param array $expand values for keys 'c', 'row', 'c_', 'row_', 'cont' |
103 | 103 | * @param array $content |
104 | 104 | * @param array &$validated=array() validated content |
105 | - * @param array $expand=array values for keys 'c', 'row', 'c_', 'row_', 'cont' |
|
106 | 105 | */ |
107 | 106 | public function validate($cname, array $expand, array $content, &$validated=array()) |
108 | 107 | { |
@@ -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 | { |
@@ -500,7 +500,7 @@ discard block |
||
500 | 500 | * |
501 | 501 | * If you have cached data in your stream but not yet stored it into the underlying storage, you should do so now. |
502 | 502 | * |
503 | - * @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. |
|
503 | + * @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. |
|
504 | 504 | */ |
505 | 505 | function stream_flush ( ) |
506 | 506 | { |
@@ -541,6 +541,7 @@ discard block |
||
541 | 541 | * In order for the appropriate error message to be returned, do not define this method if your wrapper does not support unlinking! |
542 | 542 | * |
543 | 543 | * @param string $url |
544 | + * @param integer $parent_stat |
|
544 | 545 | * @return boolean TRUE on success or FALSE on failure |
545 | 546 | */ |
546 | 547 | function unlink ( $url, $parent_stat=null ) |
@@ -672,6 +673,8 @@ discard block |
||
672 | 673 | |
673 | 674 | /** |
674 | 675 | * due to problems with recursive directory creation, we have our own here |
676 | + * @param false|string $pathname |
|
677 | + * @param integer $mode |
|
675 | 678 | */ |
676 | 679 | protected static function mkdir_recursive($pathname, $mode, $depth=0) |
677 | 680 | { |
@@ -1057,7 +1060,7 @@ discard block |
||
1057 | 1060 | * |
1058 | 1061 | * @param string $url URL that was passed to opendir() and that this object is expected to explore. |
1059 | 1062 | * @param int $options |
1060 | - * @return booelan |
|
1063 | + * @return boolean |
|
1061 | 1064 | */ |
1062 | 1065 | function dir_opendir ( $url, $options ) |
1063 | 1066 | { |
@@ -1460,7 +1463,7 @@ discard block |
||
1460 | 1463 | * |
1461 | 1464 | * @param string $path string with path |
1462 | 1465 | * @param int $rights =null rights to set, or null to delete the entry |
1463 | - * @param int|boolean $owner =null owner for whom to set the rights, null for the current user, or false to delete all rights for $path |
|
1466 | + * @param boolean $owner =null owner for whom to set the rights, null for the current user, or false to delete all rights for $path |
|
1464 | 1467 | * @param int $fs_id =null fs_id to use, to not query it again (eg. because it's already deleted) |
1465 | 1468 | * @return boolean true if acl is set/deleted, false on error |
1466 | 1469 | */ |
@@ -1750,6 +1753,7 @@ discard block |
||
1750 | 1753 | * Replace the password of an url with '...' for error messages |
1751 | 1754 | * |
1752 | 1755 | * @param string &$url |
1756 | + * @param string $url |
|
1753 | 1757 | */ |
1754 | 1758 | static protected function _remove_password(&$url) |
1755 | 1759 | { |
@@ -1765,7 +1769,7 @@ discard block |
||
1765 | 1769 | /** |
1766 | 1770 | * Get storage mode from url (get parameter 'storage', eg. ?storage=db) |
1767 | 1771 | * |
1768 | - * @param string|array $url complete url or array of url-parts from parse_url |
|
1772 | + * @param string $url complete url or array of url-parts from parse_url |
|
1769 | 1773 | * @return int self::STORE2FS or self::STORE2DB |
1770 | 1774 | */ |
1771 | 1775 | static function url2operation($url) |
@@ -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 | { |