@@ -464,6 +464,7 @@ discard block |
||
464 | 464 | * |
465 | 465 | * @param string $name |
466 | 466 | * @param string $value =null value to use, default $config[$name] |
467 | + * @return string |
|
467 | 468 | */ |
468 | 469 | function config_translate($name, $value=null) |
469 | 470 | { |
@@ -1194,7 +1195,7 @@ discard block |
||
1194 | 1195 | * Runs given shell command, exists with error-code after echoing the output of the failed command (if not already running verbose) |
1195 | 1196 | * |
1196 | 1197 | * @param string $cmd |
1197 | - * @param array& $output=null $output of command, only if !$verbose !!! |
|
1198 | + * @param array& $output $output of command, only if !$verbose !!! |
|
1198 | 1199 | * @param int|array $no_bailout =null exit code(s) to NOT bail out |
1199 | 1200 | * @return int exit code of $cmd |
1200 | 1201 | */ |
@@ -485,7 +485,7 @@ discard block |
||
485 | 485 | * |
486 | 486 | * @param string $cmd |
487 | 487 | * @param array &$output=null $output of command |
488 | - * @param int|array|true $no_bailout =null exit code(s) to NOT bail out, or true to never bail out |
|
488 | + * @param integer $no_bailout =null exit code(s) to NOT bail out, or true to never bail out |
|
489 | 489 | * @return int exit code of $cmd |
490 | 490 | */ |
491 | 491 | function run_cmd($cmd,array &$output=null,$no_bailout=null) |
@@ -712,7 +712,7 @@ discard block |
||
712 | 712 | * Read one Univention secret/password eg. _ucr_secret('mysql') |
713 | 713 | * |
714 | 714 | * @param string $name |
715 | - * @return string|boolean |
|
715 | + * @return false|string |
|
716 | 716 | */ |
717 | 717 | function _ucr_secret($name) |
718 | 718 | { |
@@ -91,7 +91,7 @@ |
||
91 | 91 | /** |
92 | 92 | * Entries for filemanagers's admin menu |
93 | 93 | * |
94 | - * @param string|array $location ='admin' hook name or params |
|
94 | + * @param string $location ='admin' hook name or params |
|
95 | 95 | */ |
96 | 96 | static function admin($location = 'admin') |
97 | 97 | { |
@@ -127,8 +127,7 @@ |
||
127 | 127 | /** |
128 | 128 | * Show files shared |
129 | 129 | * |
130 | - * @param array $content=null |
|
131 | - * @param string $msg='' |
|
130 | + * @param array $content |
|
132 | 131 | */ |
133 | 132 | public function index(array $content=null) |
134 | 133 | { |
@@ -536,6 +536,9 @@ discard block |
||
536 | 536 | * @param int &$errs=null on return number of errors |
537 | 537 | * @param int &$dirs=null on return number of dirs deleted |
538 | 538 | * @param int &$files=null on return number of files deleted |
539 | + * @param integer $errs |
|
540 | + * @param integer $files |
|
541 | + * @param integer $dirs |
|
539 | 542 | * @return string success or failure message displayed to the user |
540 | 543 | */ |
541 | 544 | static public function action($action,$selected,$dir=null,&$errs=null,&$files=null,&$dirs=null) |
@@ -704,6 +707,9 @@ discard block |
||
704 | 707 | * @param int &$errs=null on return number of errors |
705 | 708 | * @param int &$dirs=null on return number of dirs deleted |
706 | 709 | * @param int &$files=null on return number of files deleted |
710 | + * @param integer $errs |
|
711 | + * @param integer $dirs |
|
712 | + * @param integer $files |
|
707 | 713 | * @return string |
708 | 714 | */ |
709 | 715 | public static function do_delete(array $selected, &$errs=null, &$dirs=null, &$files=null) |
@@ -1325,7 +1331,6 @@ discard block |
||
1325 | 1331 | * |
1326 | 1332 | * @param string $action eg. 'delete', ... |
1327 | 1333 | * @param array $selected selected path(s) |
1328 | - * @param string $dir=null current directory |
|
1329 | 1334 | * @see static::action() |
1330 | 1335 | */ |
1331 | 1336 | public static function ajax_action($action, $selected, $dir=null, $props=null) |
@@ -198,7 +198,7 @@ |
||
198 | 198 | /** |
199 | 199 | * This portlet accepts files and links |
200 | 200 | * |
201 | - * @return boolean|String[] |
|
201 | + * @return string[] |
|
202 | 202 | */ |
203 | 203 | public function accept_drop() |
204 | 204 | { |
@@ -113,7 +113,7 @@ |
||
113 | 113 | * If this portlet can be created by dropping, these are the drop types |
114 | 114 | * that are accepted |
115 | 115 | * |
116 | - * @return boolean|String[] |
|
116 | + * @return boolean |
|
117 | 117 | */ |
118 | 118 | public function accept_drop() |
119 | 119 | { |
@@ -155,7 +155,7 @@ |
||
155 | 155 | * Get a list of the user's portlets, and their associated values & settings, for display |
156 | 156 | * |
157 | 157 | * Actual portlet content is provided by each portlet. |
158 | - * @param template etemplate so attributes can be set |
|
158 | + * @param template Etemplate so attributes can be set |
|
159 | 159 | */ |
160 | 160 | protected function get_user_portlets(Etemplate &$template) |
161 | 161 | { |
@@ -118,8 +118,7 @@ discard block |
||
118 | 118 | /** |
119 | 119 | * imports entries according to given definition object. |
120 | 120 | * @param resource $_stream |
121 | - * @param string $_charset |
|
122 | - * @param definition $_definition |
|
121 | + * @param importexport_definition $_definition |
|
123 | 122 | */ |
124 | 123 | public function import( $_stream, importexport_definition $_definition ) { |
125 | 124 | $import_csv = new importexport_import_csv( $_stream, array( |
@@ -222,7 +221,7 @@ discard block |
||
222 | 221 | * |
223 | 222 | * Updates the count of actions taken |
224 | 223 | * |
225 | - * @return boolean success |
|
224 | + * @return null|boolean success |
|
226 | 225 | */ |
227 | 226 | protected function import_record(importexport_iface_egw_record &$record, &$import_csv) |
228 | 227 | { |
@@ -274,7 +273,7 @@ discard block |
||
274 | 273 | * @param condition array = array('string' => field name) |
275 | 274 | * @param matches - On return, will be filled with matching records |
276 | 275 | * |
277 | - * @return boolean |
|
276 | + * @return boolean|null |
|
278 | 277 | */ |
279 | 278 | protected function exists(importexport_iface_egw_record &$record, Array &$condition, &$matches = array()) |
280 | 279 | { |
@@ -451,7 +450,7 @@ discard block |
||
451 | 450 | /** |
452 | 451 | * Allows an extending class to alter a row for preview |
453 | 452 | * |
454 | - * @param egw_record $row_entry |
|
453 | + * @param importexport_iface_egw_record $row_entry |
|
455 | 454 | */ |
456 | 455 | protected function row_preview(importexport_iface_egw_record &$row_entry) |
457 | 456 | { |
@@ -523,7 +522,7 @@ discard block |
||
523 | 522 | * Get the primary key for an entry based on a custom field |
524 | 523 | * Returns key, so regular linking can take over |
525 | 524 | * |
526 | - * @param int $record_number Row number, used for errors |
|
525 | + * @param int $record_num Row number, used for errors |
|
527 | 526 | * @param string $app Target application name |
528 | 527 | * @param string $value CSV value in the form of custom_field_name:value |
529 | 528 | */ |