@@ -1541,7 +1541,7 @@ discard block |
||
1541 | 1541 | * function splitRowID - split the rowID into its parts |
1542 | 1542 | * |
1543 | 1543 | * @param string $_rowID string - a colon separated string in the form accountID:profileID:folder:message_uid |
1544 | - * @return array populated named result array (accountID,profileID,folder,msgUID) |
|
1544 | + * @return string populated named result array (accountID,profileID,folder,msgUID) |
|
1545 | 1545 | */ |
1546 | 1546 | static function splitRowID($_rowID) |
1547 | 1547 | { |
@@ -1623,9 +1623,9 @@ discard block |
||
1623 | 1623 | * function header2gridelements - to populate the grid elements with the collected Data |
1624 | 1624 | * |
1625 | 1625 | * @param array $_headers headerdata to process |
1626 | - * @param array $cols cols to populate |
|
1626 | + * @param string[] $cols cols to populate |
|
1627 | 1627 | * @param array $_folderName to ensure the uniqueness of the uid over all folders |
1628 | - * @param array $_folderType used to determine if we need to populate from/to |
|
1628 | + * @param integer $_folderType used to determine if we need to populate from/to |
|
1629 | 1629 | * @return array populated result array |
1630 | 1630 | */ |
1631 | 1631 | public function header2gridelements($_headers, $cols, $_folderName, $_folderType=0) |
@@ -2863,6 +2863,9 @@ discard block |
||
2863 | 2863 | return $GLOBALS['egw']->framework->header(); |
2864 | 2864 | } |
2865 | 2865 | |
2866 | + /** |
|
2867 | + * @param string $body |
|
2868 | + */ |
|
2866 | 2869 | function showBody(&$body, $print=true,$fullPageTags=true) |
2867 | 2870 | { |
2868 | 2871 | $BeginBody = '<div class="mailDisplayBody"> |
@@ -3099,9 +3102,9 @@ discard block |
||
3099 | 3102 | * Replace CID with proper type of content understandable by browser |
3100 | 3103 | * |
3101 | 3104 | * @param type $_body content of message |
3102 | - * @param type $_mailbox mail box |
|
3103 | - * @param type $_uid uid |
|
3104 | - * @param type $_partID part id |
|
3105 | + * @param string $_mailbox mail box |
|
3106 | + * @param string $_uid uid |
|
3107 | + * @param string $_partID part id |
|
3105 | 3108 | * @param type $_type = 'src' type of inline image that needs to be resolved and replaced |
3106 | 3109 | * - types: {plain|src|url|background} |
3107 | 3110 | * @return string returns body content including all CID replacements |
@@ -3283,7 +3286,7 @@ discard block |
||
3283 | 3286 | * @param string $_folder (passed by reference) will set the folder used. must be set with a folder, but will hold modifications if |
3284 | 3287 | * folder is modified |
3285 | 3288 | * @param string $importID ID for the imported message, used by attachments to identify them unambiguously |
3286 | - * @return mixed $messageUID or exception |
|
3289 | + * @return string $messageUID or exception |
|
3287 | 3290 | */ |
3288 | 3291 | function importMessageToFolder($_formData,&$_folder,$importID='') |
3289 | 3292 | { |
@@ -3444,7 +3447,7 @@ discard block |
||
3444 | 3447 | * |
3445 | 3448 | * @param string _messageID UID |
3446 | 3449 | * |
3447 | - * @return xajax response |
|
3450 | + * @return string|null response |
|
3448 | 3451 | */ |
3449 | 3452 | function loadEmailBody($_messageID=null,$_partID=null,$_htmloptions=null) |
3450 | 3453 | { |
@@ -3995,7 +3998,7 @@ discard block |
||
3995 | 3998 | * ajax_deleteFolder - its called via json, so the function must start with ajax (or the class-name must contain ajax) |
3996 | 3999 | * @param string $_folderName folder to delete |
3997 | 4000 | * @param boolean $_return = false wheter return the success value (true) or send response to client (false) |
3998 | - * @return nothing |
|
4001 | + * @return null|boolean |
|
3999 | 4002 | */ |
4000 | 4003 | function ajax_deleteFolder($_folderName, $_return = false) |
4001 | 4004 | { |
@@ -131,7 +131,7 @@ |
||
131 | 131 | * @param array $_links |
132 | 132 | * @param boolean $_render_html |
133 | 133 | * @param boolean $_render_external |
134 | - * @return plain or html rendered link(s) as complete string |
|
134 | + * @return false|string or html rendered link(s) as complete string |
|
135 | 135 | */ |
136 | 136 | private function render_links($_links = false, $_render_html = false, $_render_external = true) { |
137 | 137 | if(!is_array($_links) || count($_links) == 0) { return false; } |
@@ -155,7 +155,7 @@ discard block |
||
155 | 155 | * checks for a valid IPv4-address without CIDR notation |
156 | 156 | * |
157 | 157 | * @param string $_ip |
158 | - * @return true or false |
|
158 | + * @return integer or false |
|
159 | 159 | */ |
160 | 160 | private function valid_ip($_ip) { |
161 | 161 | return eregi('^[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$',$_ip); |
@@ -165,7 +165,7 @@ discard block |
||
165 | 165 | * renders additional info from subject |
166 | 166 | * |
167 | 167 | * @param string $_subject |
168 | - * @return plain rendered info as complete string |
|
168 | + * @return string|false rendered info as complete string |
|
169 | 169 | */ |
170 | 170 | private function render_infos($_subject = false) { |
171 | 171 | $newline = "\n"; |
@@ -24,6 +24,10 @@ |
||
24 | 24 | |
25 | 25 | if(!function_exists('html_entity_decode')) |
26 | 26 | { |
27 | + |
|
28 | + /** |
|
29 | + * @param integer $quote_style |
|
30 | + */ |
|
27 | 31 | function html_entity_decode($given_html, $quote_style = ENT_QUOTES) |
28 | 32 | { |
29 | 33 | $trans_table = array_flip(get_html_translation_table( HTML_SPECIALCHARS, $quote_style)); |
@@ -29,7 +29,7 @@ |
||
29 | 29 | /** |
30 | 30 | * Exports records as defined in $_definition |
31 | 31 | * |
32 | - * @param egw_record $_definition |
|
32 | + * @param importexport_definition $_definition |
|
33 | 33 | */ |
34 | 34 | public function export( $_stream, importexport_definition $_definition) { |
35 | 35 | $options = $_definition->plugin_options; |
@@ -28,9 +28,7 @@ discard block |
||
28 | 28 | |
29 | 29 | /** |
30 | 30 | * imports entries according to given definition object. |
31 | - * @param resource $_stream |
|
32 | - * @param string $_charset |
|
33 | - * @param definition $_definition |
|
31 | + * @param importexport_definition $_definition |
|
34 | 32 | */ |
35 | 33 | public function init(importexport_definition $_definition ) { |
36 | 34 | |
@@ -52,7 +50,7 @@ discard block |
||
52 | 50 | * |
53 | 51 | * Updates the count of actions taken |
54 | 52 | * |
55 | - * @return boolean success |
|
53 | + * @return null|boolean success |
|
56 | 54 | */ |
57 | 55 | protected function import_record(importexport_iface_egw_record &$record, &$import_csv) |
58 | 56 | { |
@@ -33,7 +33,7 @@ |
||
33 | 33 | * |
34 | 34 | * @param string $key key of value to get |
35 | 35 | * @param int $res_id resource id |
36 | - * @return mixed value of key and resource, false if key or id not found. |
|
36 | + * @return integer value of key and resource, false if key or id not found. |
|
37 | 37 | */ |
38 | 38 | function get_value($key,$res_id) |
39 | 39 | { |
@@ -936,9 +936,6 @@ |
||
936 | 936 | * |
937 | 937 | * Uses $this->ldap_host, $this->ldap_admin and $this->ldap_admin_pw to connect. |
938 | 938 | * |
939 | - * @param string $this->object_class ='qmailUser' |
|
940 | - * @param string $this->mbox_attr ='mailmessagestore' lowercase!!! |
|
941 | - * @param string $this->mail_login_type ='email' 'email', 'vmailmgr', 'standard' or 'uidNumber' |
|
942 | 939 | * @return string with success message N entries modified |
943 | 940 | * @throws Api\Exception if dn not found, not listable or delete fails |
944 | 941 | */ |
@@ -252,7 +252,7 @@ |
||
252 | 252 | /** |
253 | 253 | * Check if header exists and is up to date |
254 | 254 | * |
255 | - * @return int 1=no header.inc.php, 2=no header admin pw, 3=no instances, 4=need upgrade, 10=ok |
|
255 | + * @return string 1=no header.inc.php, 2=no header admin pw, 3=no instances, 4=need upgrade, 10=ok |
|
256 | 256 | */ |
257 | 257 | function check_header() |
258 | 258 | { |