@@ -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()) |
@@ -36,7 +36,7 @@ |
||
| 36 | 36 | /** |
| 37 | 37 | * Exports records as defined in $_definition |
| 38 | 38 | * |
| 39 | - * @param egw_record $_definition |
|
| 39 | + * @param importexport_definition $_definition |
|
| 40 | 40 | */ |
| 41 | 41 | public function export( $_stream, importexport_definition $_definition) { |
| 42 | 42 | |
@@ -79,8 +79,6 @@ |
||
| 79 | 79 | * Here we need to handle any incoming data. Setup is done in the constructor, |
| 80 | 80 | * output is handled by parent. |
| 81 | 81 | * |
| 82 | - * @param type $id |
|
| 83 | - * @param Etemplate $etemplate |
|
| 84 | 82 | */ |
| 85 | 83 | public static function process($values = array()) |
| 86 | 84 | { |
@@ -106,7 +106,7 @@ discard block |
||
| 106 | 106 | * @param array &$files |
| 107 | 107 | * @param int $user account_id |
| 108 | 108 | * @param string $id ='' |
| 109 | - * @return mixed boolean true on success, false on failure or string with http status (eg. '404 Not Found') |
|
| 109 | + * @return boolean boolean true on success, false on failure or string with http status (eg. '404 Not Found') |
|
| 110 | 110 | */ |
| 111 | 111 | function propfind($path,&$options,&$files,$user,$id='') |
| 112 | 112 | { |
@@ -188,7 +188,7 @@ discard block |
||
| 188 | 188 | * |
| 189 | 189 | * @param string $path |
| 190 | 190 | * @param array& $filter |
| 191 | - * @param array|boolean $start =false false=return all or array(start,num) |
|
| 191 | + * @param integer[] $start =false false=return all or array(start,num) |
|
| 192 | 192 | * @return array with "files" array with values for keys path and props |
| 193 | 193 | */ |
| 194 | 194 | function &propfind_callback($path,array &$filter,$start=false,$report_not_found_multiget_ids=true) |
@@ -539,7 +539,7 @@ discard block |
||
| 539 | 539 | * @param array &$options |
| 540 | 540 | * @param int $id |
| 541 | 541 | * @param int $user =null account_id |
| 542 | - * @return mixed boolean true on success, false on failure or string with http status (eg. '404 Not Found') |
|
| 542 | + * @return string|boolean boolean true on success, false on failure or string with http status (eg. '404 Not Found') |
|
| 543 | 543 | */ |
| 544 | 544 | function get(&$options,$id,$user=null) |
| 545 | 545 | { |
@@ -566,7 +566,7 @@ discard block |
||
| 566 | 566 | * @param int $id |
| 567 | 567 | * @param int $user =null account_id of owner, default null |
| 568 | 568 | * @param string $prefix =null user prefix from path (eg. /ralf from /ralf/addressbook) |
| 569 | - * @return mixed boolean true on success, false on failure or string with http status (eg. '404 Not Found') |
|
| 569 | + * @return string|boolean boolean true on success, false on failure or string with http status (eg. '404 Not Found') |
|
| 570 | 570 | */ |
| 571 | 571 | function put(&$options,$id,$user=null,$prefix=null) |
| 572 | 572 | { |
@@ -1024,7 +1024,7 @@ discard block |
||
| 1024 | 1024 | * |
| 1025 | 1025 | * @param int $acl Acl::READ, Acl::EDIT or Acl::DELETE |
| 1026 | 1026 | * @param array|int $contact contact-array or id |
| 1027 | - * @return boolean null if entry does not exist, false if no access, true if access permitted |
|
| 1027 | + * @return null|boolean null if entry does not exist, false if no access, true if access permitted |
|
| 1028 | 1028 | */ |
| 1029 | 1029 | function check_access($acl,$contact) |
| 1030 | 1030 | { |
@@ -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 | { |
@@ -83,8 +83,7 @@ |
||
| 83 | 83 | /** |
| 84 | 84 | * imports entries according to given definition object. |
| 85 | 85 | * @param resource $_stream |
| 86 | - * @param string $_charset |
|
| 87 | - * @param definition $_definition |
|
| 86 | + * @param importexport_definition $_definition |
|
| 88 | 87 | */ |
| 89 | 88 | public function import( $_stream, importexport_definition $_definition ) { |
| 90 | 89 | $this->definition = $_definition; |
@@ -532,7 +532,6 @@ |
||
| 532 | 532 | /** |
| 533 | 533 | * Read the IMAP ACLs |
| 534 | 534 | * |
| 535 | - * @param array $args admin-account[@domain],admin-password,accout_lid[,pw] |
|
| 536 | 535 | * @return int 0 on success |
| 537 | 536 | */ |
| 538 | 537 | function do_subscribe_other($account_lid,$pw=null) |
@@ -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) |