@@ -94,7 +94,6 @@ |
||
| 94 | 94 | /** |
| 95 | 95 | * imports entries according to given definition object. |
| 96 | 96 | * @param resource $_stream |
| 97 | - * @param string $_charset |
|
| 98 | 97 | * @param definition $_definition |
| 99 | 98 | */ |
| 100 | 99 | public function import( $_stream, definition $_definition ) { |
@@ -519,6 +519,7 @@ discard block |
||
| 519 | 519 | * @param array $new_event Event after the change |
| 520 | 520 | * @param string $role we treat CHAIR like event owners |
| 521 | 521 | * @param string $status of current user |
| 522 | + * @param integer $msg_type |
|
| 522 | 523 | * @return boolean true = update requested, false otherwise |
| 523 | 524 | */ |
| 524 | 525 | public static function update_requested($userid, $part_prefs, &$msg_type, $old_event ,$new_event, $role, $status=null) |
@@ -594,7 +595,7 @@ discard block |
||
| 594 | 595 | /** |
| 595 | 596 | * Check calendar prefs, if a given user (integer account_id) or email (user or externals) should get notified |
| 596 | 597 | * |
| 597 | - * @param int|string $user_or_email |
|
| 598 | + * @param string $user_or_email |
|
| 598 | 599 | * @param string $ical_method ='REQUEST' |
| 599 | 600 | * @param string $role ='REQ-PARTICIPANT' |
| 600 | 601 | * @return boolean true if user requested to be notified, false if not |
@@ -645,8 +646,7 @@ discard block |
||
| 645 | 646 | * Get iCal/iMip method from internal nummeric msg-type plus optional notification message and verbose name |
| 646 | 647 | * |
| 647 | 648 | * @param int $msg_type see MSG_* defines |
| 648 | - * @param string& $action=null on return verbose name |
|
| 649 | - * @param string& $msg=null on return notification message |
|
| 649 | + * @param string& $action on return verbose name |
|
| 650 | 650 | */ |
| 651 | 651 | function msg_type2ical_method($msg_type, &$action=null, &$msg=null) |
| 652 | 652 | { |
@@ -1011,6 +1011,9 @@ discard block |
||
| 1011 | 1011 | return true; |
| 1012 | 1012 | } |
| 1013 | 1013 | |
| 1014 | + /** |
|
| 1015 | + * @param integer $added |
|
| 1016 | + */ |
|
| 1014 | 1017 | function get_update_message($event,$added) |
| 1015 | 1018 | { |
| 1016 | 1019 | $nul = null; |
@@ -1300,8 +1303,8 @@ discard block |
||
| 1300 | 1303 | * |
| 1301 | 1304 | * @param int $right self::CAT_ACL_{ADD|STATUS} |
| 1302 | 1305 | * @param int|array $event |
| 1303 | - * @return boolean true if use has the right, false if not |
|
| 1304 | - * @return boolean false=access denied because of cat acl, true access granted because of cat acl, |
|
| 1306 | + * @return null|boolean true if use has the right, false if not |
|
| 1307 | + * @return null|boolean false=access denied because of cat acl, true access granted because of cat acl, |
|
| 1305 | 1308 | * null = cat has no acl |
| 1306 | 1309 | */ |
| 1307 | 1310 | function check_cat_acl($right,$event) |
@@ -1386,6 +1389,8 @@ discard block |
||
| 1386 | 1389 | * Check if current user has a given right on a category (if it's restricted!) |
| 1387 | 1390 | * |
| 1388 | 1391 | * @param int $cat_id |
| 1392 | + * @param integer $right |
|
| 1393 | + * @param integer $user |
|
| 1389 | 1394 | * @return boolean false=access denied because of cat acl, true access granted because of cat acl, |
| 1390 | 1395 | * null = cat has no acl |
| 1391 | 1396 | */ |
@@ -1647,7 +1652,7 @@ discard block |
||
| 1647 | 1652 | * @param string $action |
| 1648 | 1653 | * @param array $event_arr |
| 1649 | 1654 | * @param array $disinvited |
| 1650 | - * @return array |
|
| 1655 | + * @return string |
|
| 1651 | 1656 | */ |
| 1652 | 1657 | function _get_event_details($event,$action,&$event_arr,$disinvited=array()) |
| 1653 | 1658 | { |
@@ -74,7 +74,7 @@ discard block |
||
| 74 | 74 | * @param importepport_iface_egw_record record The egw_record object being imported |
| 75 | 75 | * @param importexport_iface_import_record import_csv Import object contains current state |
| 76 | 76 | * |
| 77 | - * @return boolean success |
|
| 77 | + * @return null|boolean success |
|
| 78 | 78 | */ |
| 79 | 79 | public function import_record(\importexport_iface_egw_record &$record, &$import_csv) |
| 80 | 80 | { |
@@ -254,7 +254,6 @@ discard block |
||
| 254 | 254 | * perform the required action |
| 255 | 255 | * |
| 256 | 256 | * @param int $_action one of $this->actions |
| 257 | - * @param array $_data record data for the action |
|
| 258 | 257 | * @return bool success or not |
| 259 | 258 | */ |
| 260 | 259 | protected function action ( $_action, importexport_iface_egw_record &$record, $record_num = 0 ) |
@@ -343,7 +342,7 @@ discard block |
||
| 343 | 342 | /** |
| 344 | 343 | * Alter a row for preview to show multiple participants instead of Array |
| 345 | 344 | * |
| 346 | - * @param egw_record $row_entry |
|
| 345 | + * @param importexport_iface_egw_record $row_entry |
|
| 347 | 346 | */ |
| 348 | 347 | protected function row_preview(importexport_iface_egw_record &$row_entry) |
| 349 | 348 | { |
@@ -204,6 +204,7 @@ |
||
| 204 | 204 | * |
| 205 | 205 | * @param boolean &$updated=null on return true if update was neccessary, false if tz's were already up to date |
| 206 | 206 | * @param string $file ='calendar/setup/timezones.sqlite' filename relative to EGW_SERVER_ROOT |
| 207 | + * @param boolean $updated |
|
| 207 | 208 | * @return string message about update |
| 208 | 209 | * @throws Api\Exception\WrongParameter if $file is not readable or wrong format/version |
| 209 | 210 | * @throws Api\Exception\WrongUserinput if no PDO sqlite support |
@@ -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 | { |
@@ -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 | { |