@@ -1077,7 +1077,7 @@ discard block |
||
1077 | 1077 | * date instead of today |
1078 | 1078 | * @param boolean $no_notifications Toggle notifications to participants |
1079 | 1079 | * |
1080 | - * @return false or error message |
|
1080 | + * @return string|false or error message |
|
1081 | 1081 | */ |
1082 | 1082 | function _break_recurring(&$event, $old_event, $as_of_date = null, $no_notifications = true) |
1083 | 1083 | { |
@@ -2173,7 +2173,7 @@ discard block |
||
2173 | 2173 | * Freetime search |
2174 | 2174 | * |
2175 | 2175 | * As the function is called in a popup via javascript, parametes get initialy transfered via the url |
2176 | - * @param array $content=null array with parameters or false (default) to use the get-params |
|
2176 | + * @param array $content array with parameters or false (default) to use the get-params |
|
2177 | 2177 | * @param string start[str] start-date |
2178 | 2178 | * @param string start[hour] start-hour |
2179 | 2179 | * @param string start[min] start-minutes |
@@ -2417,7 +2417,7 @@ discard block |
||
2417 | 2417 | /** |
2418 | 2418 | * Export events as vCalendar version 2.0 files (iCal) |
2419 | 2419 | * |
2420 | - * @param int|array $content numeric cal_id or submitted content from etempalte::exec |
|
2420 | + * @param integer $content numeric cal_id or submitted content from etempalte::exec |
|
2421 | 2421 | * @param boolean $return_error should an error-msg be returned or a regular page with it generated (default) |
2422 | 2422 | * @return string error-msg if $return_error |
2423 | 2423 | */ |
@@ -539,8 +539,9 @@ |
||
539 | 539 | * @param int &$success number of succeded actions |
540 | 540 | * @param int &$failed number of failed actions (not enought permissions) |
541 | 541 | * @param string &$action_msg translated verb for the actions, to be used in a message like %1 events 'deleted' |
542 | - * @param string/array $session_name 'calendar_list' |
|
543 | - * @return boolean true if all actions succeded, false otherwise |
|
542 | + * @param string $session_name 'calendar_list' |
|
543 | + * @param null|string $msg |
|
544 | + * @return null|boolean true if all actions succeded, false otherwise |
|
544 | 545 | */ |
545 | 546 | function action($action,$checked,$use_all,&$success,&$failed,&$action_msg,$session_name,&$msg,$skip_notification=false) |
546 | 547 | { |
@@ -412,7 +412,7 @@ discard block |
||
412 | 412 | /** |
413 | 413 | * Displays the planner view |
414 | 414 | * |
415 | - * @param boolean|Etemplate $home = false if etemplate return content suitable for home-page |
|
415 | + * @param null|Etemplate $home = false if etemplate return content suitable for home-page |
|
416 | 416 | */ |
417 | 417 | function &planner($content = array(), $home=false) |
418 | 418 | { |
@@ -497,7 +497,7 @@ discard block |
||
497 | 497 | * Used for home app |
498 | 498 | * |
499 | 499 | * @param int $weeks = 0 number of weeks to show, if 0 (default) all weeks of one month are shown |
500 | - * @param boolean|etemplate2 $home = false if not false return content suitable for home-page |
|
500 | + * @param null|Etemplate $home = false if not false return content suitable for home-page |
|
501 | 501 | */ |
502 | 502 | function &month($weeks=0,$home=false) |
503 | 503 | { |
@@ -580,6 +580,8 @@ discard block |
||
580 | 580 | * @param int &$first timestamp 0h of first day of week containing the first of the current month |
581 | 581 | * @param int &$last timestamp 23:59:59 of last day of week containg the last day of the current month |
582 | 582 | * @param int $day = 1 should the alignment be based on the 1. of the month or an other date, eg. the 15. |
583 | + * @param integer $first |
|
584 | + * @param integer $last |
|
583 | 585 | */ |
584 | 586 | function _week_align_month(&$first,&$last,$day=1) |
585 | 587 | { |
@@ -604,7 +606,7 @@ discard block |
||
604 | 606 | * Displays the weekview, with 5 or 7 days |
605 | 607 | * |
606 | 608 | * @param int $days = 0 number of days to show, if 0 (default) the value from the URL or the prefs is used |
607 | - * @param boolean|etemplate2 $home = false if not false return content suitable for home-page |
|
609 | + * @param null|Etemplate $home = false if not false return content suitable for home-page |
|
608 | 610 | */ |
609 | 611 | function week($days=0,$home=false) |
610 | 612 | { |
@@ -740,7 +742,7 @@ discard block |
||
740 | 742 | /** |
741 | 743 | * Query the open ToDo's via a hook from InfoLog or any other 'calendar_include_todos' provider |
742 | 744 | * |
743 | - * @param array/string $todo_label label for the todo-box or array with 2 values: the label and a boolean show_all |
|
745 | + * @param string $todo_label label for the todo-box or array with 2 values: the label and a boolean show_all |
|
744 | 746 | * On return $todo_label contains the label for the todo-box |
745 | 747 | * @return string/boolean Api\Html with a table of open todo's or false if no hook availible |
746 | 748 | */ |
@@ -824,7 +826,7 @@ discard block |
||
824 | 826 | * - 'edit_popup' => '400x300' (optional) |
825 | 827 | * |
826 | 828 | * @param string $app |
827 | - * @param int|string $id |
|
829 | + * @param string $id |
|
828 | 830 | * @return string |
829 | 831 | */ |
830 | 832 | public static function integration_get_popup($app,$id) |
@@ -864,7 +866,7 @@ discard block |
||
864 | 866 | * Icons specified in $events['icons'] are always displayed! |
865 | 867 | * |
866 | 868 | * @param string $app |
867 | - * @param int|string $id |
|
869 | + * @param string $id |
|
868 | 870 | * @param array $event |
869 | 871 | * @return array |
870 | 872 | */ |
@@ -11,6 +11,10 @@ discard block |
||
11 | 11 | |
12 | 12 | use EGroupware\Api; |
13 | 13 | |
14 | +/** |
|
15 | + * @param string $table |
|
16 | + * @param string $field |
|
17 | + */ |
|
14 | 18 | function calendar_v0_9_2to0_9_3update_owner($table, $field) |
15 | 19 | { |
16 | 20 | $GLOBALS['egw_setup']->oProc->query("select distinct($field) from $table"); |
@@ -2306,7 +2310,7 @@ discard block |
||
2306 | 2310 | * |
2307 | 2311 | * Also fix recurring events containing a reference to an other master, created when an exception is made a recurring event. |
2308 | 2312 | * |
2309 | - * @return type |
|
2313 | + * @return string |
|
2310 | 2314 | */ |
2311 | 2315 | function calendar_upgrade14_1() |
2312 | 2316 | { |
@@ -187,7 +187,7 @@ |
||
187 | 187 | * |
188 | 188 | * @param string $file filename |
189 | 189 | * @param boolean $dry_run =false true: only echo fixed file, not fix it |
190 | - * @return boolean false on error |
|
190 | + * @return boolean|null false on error |
|
191 | 191 | */ |
192 | 192 | function fix_api($file, $dry_run=false) |
193 | 193 | { |
@@ -23,7 +23,7 @@ discard block |
||
23 | 23 | * Fix depricated stuff in a given file |
24 | 24 | * |
25 | 25 | * @param string $file filename |
26 | - * @param boolean $replace_file=false replace existing file if modifications are necessary, otherwise .php53 file is created |
|
26 | + * @param boolean $replace_file replace existing file if modifications are necessary, otherwise .php53 file is created |
|
27 | 27 | * @return boolean false on error |
28 | 28 | */ |
29 | 29 | function fix_depricated($file,$replace_file=false) |
@@ -146,7 +146,7 @@ discard block |
||
146 | 146 | * Loop recursive through directory and call fix_depricated for each php file |
147 | 147 | * |
148 | 148 | * @param string $dir |
149 | - * @param boolean $replace_file=false replace existing file if modifications are necessary, otherwise .php53 file is created |
|
149 | + * @param boolean $replace_file replace existing file if modifications are necessary, otherwise .php53 file is created |
|
150 | 150 | * @return boolean false on error |
151 | 151 | */ |
152 | 152 | function fix_depricated_recursive($dir,$replace_file=false) |
@@ -174,7 +174,6 @@ discard block |
||
174 | 174 | /** |
175 | 175 | * Give usage |
176 | 176 | * |
177 | - * @param string $error=null |
|
178 | 177 | */ |
179 | 178 | function usage($error=null) |
180 | 179 | { |
@@ -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 | { |
@@ -75,8 +75,7 @@ |
||
75 | 75 | /** |
76 | 76 | * Mount GUI |
77 | 77 | * |
78 | - * @param array $content=null |
|
79 | - * @param string $msg='' |
|
78 | + * @param array $content |
|
80 | 79 | */ |
81 | 80 | public function index(array $content=null, $msg='', $msg_type=null) |
82 | 81 | { |