@@ -30,14 +30,12 @@ discard block |
||
| 30 | 30 | /** |
| 31 | 31 | * Shows the contactform and stores the submitted data |
| 32 | 32 | * |
| 33 | - * @param array $content=null submitted eTemplate content |
|
| 34 | - * @param int $addressbook=null int owner-id of addressbook to save contacts too |
|
| 35 | - * @param array $fields=null field-names to show |
|
| 36 | - * @param string $msg=null message to show after submitting the form |
|
| 37 | - * @param string $email=null comma-separated email addresses |
|
| 38 | - * @param string $tpl_name=null custom etemplate to use |
|
| 39 | - * @param string $subject=null subject for email |
|
| 40 | - * @param string $copytoreceiver=false send a copy of notification to receiver |
|
| 33 | + * @param array $content submitted eTemplate content |
|
| 34 | + * @param int $addressbook int owner-id of addressbook to save contacts too |
|
| 35 | + * @param array $fields field-names to show |
|
| 36 | + * @param string $tpl_name custom etemplate to use |
|
| 37 | + * @param string $subject subject for email |
|
| 38 | + * @param string $copytoreceiver send a copy of notification to receiver |
|
| 41 | 39 | * @return string html content |
| 42 | 40 | */ |
| 43 | 41 | function display(array $content=null,$addressbook=null,$fields=null,$msg=null,$email=null,$tpl_name=null,$subject=null,$copytoreceiver=false,$sel_options=array()) |
@@ -49,13 +47,11 @@ discard block |
||
| 49 | 47 | * Shows the contactform and stores the submitted data ($content is a var parameter, eg. for extending classes) |
| 50 | 48 | * |
| 51 | 49 | * @param array &$content=null submitted eTemplate content |
| 52 | - * @param int $addressbook=null int owner-id of addressbook to save contacts too |
|
| 53 | - * @param array $fields=null field-names to show |
|
| 54 | - * @param string $msg=null message to show after submitting the form |
|
| 55 | - * @param string $email=null comma-separated email addresses |
|
| 56 | - * @param string $tpl_name=null custom etemplate to use |
|
| 57 | - * @param string $subject=null subject for email |
|
| 58 | - * @param string $copytoreceiver=false send a copy of notification to receiver |
|
| 50 | + * @param int $addressbook int owner-id of addressbook to save contacts too |
|
| 51 | + * @param array $fields field-names to show |
|
| 52 | + * @param string $tpl_name custom etemplate to use |
|
| 53 | + * @param string $subject subject for email |
|
| 54 | + * @param string $copytoreceiver send a copy of notification to receiver |
|
| 59 | 55 | * @return string html content |
| 60 | 56 | */ |
| 61 | 57 | function display_var(array &$content=null,$addressbook=null,$fields=null,$msg=null,$email=null,$tpl_name=null,$subject=null,$copytoreceiver=false,$sel_options=array()) |
@@ -423,7 +423,7 @@ discard block |
||
| 423 | 423 | * Register addressbook for group-acl |
| 424 | 424 | * |
| 425 | 425 | * @param array $args hook-params (not used) |
| 426 | - * @return boolean|string true=standard group acl link, of string with link |
|
| 426 | + * @return boolean true=standard group acl link, of string with link |
|
| 427 | 427 | */ |
| 428 | 428 | static function group_acl($args) |
| 429 | 429 | { |
@@ -437,7 +437,7 @@ discard block |
||
| 437 | 437 | * For which groups should no group acl be used: addressbook always |
| 438 | 438 | * |
| 439 | 439 | * @param string|array $data |
| 440 | - * @return boolean|array true, false or array with group-account_id's |
|
| 440 | + * @return boolean true, false or array with group-account_id's |
|
| 441 | 441 | */ |
| 442 | 442 | static function not_enum_group_acls($data) |
| 443 | 443 | { |
@@ -44,9 +44,7 @@ discard block |
||
| 44 | 44 | |
| 45 | 45 | /** |
| 46 | 46 | * imports entries according to given definition object. |
| 47 | - * @param resource $_stream |
|
| 48 | - * @param string $_charset |
|
| 49 | - * @param definition $_definition |
|
| 47 | + * @param importexport_definition $_definition |
|
| 50 | 48 | */ |
| 51 | 49 | public function init(importexport_definition &$_definition ) { |
| 52 | 50 | |
@@ -84,7 +82,7 @@ discard block |
||
| 84 | 82 | * |
| 85 | 83 | * Updates the count of actions taken |
| 86 | 84 | * |
| 87 | - * @return boolean success |
|
| 85 | + * @return null|boolean success |
|
| 88 | 86 | */ |
| 89 | 87 | protected function import_record(importexport_iface_egw_record &$record, &$import_csv) |
| 90 | 88 | { |
@@ -255,11 +255,10 @@ |
||
| 255 | 255 | * |
| 256 | 256 | * @param type $action |
| 257 | 257 | * @param type $checked |
| 258 | - * @param type $use_all |
|
| 259 | 258 | * @param type $success |
| 260 | 259 | * @param int $failed |
| 261 | 260 | * @param type $action_msg |
| 262 | - * @return type number of failed |
|
| 261 | + * @return boolean number of failed |
|
| 263 | 262 | */ |
| 264 | 263 | function action($action,$checked,&$success,&$failed,&$action_msg) |
| 265 | 264 | { |
@@ -679,6 +679,8 @@ |
||
| 679 | 679 | * @param int &$failed number of failed actions (not enought permissions) |
| 680 | 680 | * @param string &$action_msg translated verb for the actions, to be used in a message like '%1 entries deleted' |
| 681 | 681 | * @param array $query get_rows parameter |
| 682 | + * @param integer $success |
|
| 683 | + * @param integer $failed |
|
| 682 | 684 | * @return boolean true if all actions succeded, false otherwise |
| 683 | 685 | */ |
| 684 | 686 | function action($_action, $checked, $use_all, &$success, &$failed, &$action_msg, array $query) |
@@ -291,7 +291,7 @@ |
||
| 291 | 291 | * Check if next submission is due, in which case we call submit and NOT return to the admin hook |
| 292 | 292 | * |
| 293 | 293 | * @param boolean $redirect should we redirect or return true |
| 294 | - * @return boolean true if statistic submission is due |
|
| 294 | + * @return boolean|null true if statistic submission is due |
|
| 295 | 295 | */ |
| 296 | 296 | public static function check($redirect=true) |
| 297 | 297 | { |
@@ -491,6 +491,10 @@ |
||
| 491 | 491 | protected static function call_hook() |
| 492 | 492 | { |
| 493 | 493 | self::$hook_data = array(); |
| 494 | + |
|
| 495 | + /** |
|
| 496 | + * @param string $appname |
|
| 497 | + */ |
|
| 494 | 498 | function display_section($appname,$file,$file2=False) |
| 495 | 499 | { |
| 496 | 500 | admin_ui::$hook_data[$appname] = $file2 ? $file2 : $file; |
@@ -84,7 +84,7 @@ |
||
| 84 | 84 | /** |
| 85 | 85 | * Returns available diskspace information |
| 86 | 86 | * |
| 87 | - * @return array [ available-space, free-space ] |
|
| 87 | + * @return false[] [ available-space, free-space ] |
|
| 88 | 88 | */ |
| 89 | 89 | function getQuotaInfo() |
| 90 | 90 | { |
@@ -62,7 +62,7 @@ discard block |
||
| 62 | 62 | * |
| 63 | 63 | * Return null if the ETag can not effectively be determined |
| 64 | 64 | * |
| 65 | - * @return mixed |
|
| 65 | + * @return string|null |
|
| 66 | 66 | */ |
| 67 | 67 | function getETag() |
| 68 | 68 | { |
@@ -78,7 +78,7 @@ discard block |
||
| 78 | 78 | * |
| 79 | 79 | * If null is returned, we'll assume application/octet-stream |
| 80 | 80 | * |
| 81 | - * @return mixed |
|
| 81 | + * @return string |
|
| 82 | 82 | */ |
| 83 | 83 | function getContentType() |
| 84 | 84 | { |