@@ -140,7 +140,7 @@ discard block |
||
| 140 | 140 | * Construtor |
| 141 | 141 | * |
| 142 | 142 | * @param array |
| 143 | - * @param bool|int|string $_adminConnection create admin connection if true or account_id or imap username |
|
| 143 | + * @param boolean|string $_adminConnection create admin connection if true or account_id or imap username |
|
| 144 | 144 | * @param int $_timeout =null timeout in secs, if none given fmail pref or default of 20 is used |
| 145 | 145 | * @return void |
| 146 | 146 | */ |
@@ -564,7 +564,7 @@ discard block |
||
| 564 | 564 | * Returns an array containing the names of the selected mailboxes |
| 565 | 565 | * |
| 566 | 566 | * @param string $reference base mailbox to start the search (default is current mailbox) |
| 567 | - * @param string $restriction_search false or 0 means return all mailboxes |
|
| 567 | + * @param integer $restriction_search false or 0 means return all mailboxes |
|
| 568 | 568 | * true or 1 return only the mailbox that contains that exact name |
| 569 | 569 | * 2 return all mailboxes in that hierarchy level |
| 570 | 570 | * @param string $returnAttributes true means return an assoc array containing mailbox names and mailbox attributes |
@@ -648,7 +648,7 @@ discard block |
||
| 648 | 648 | * Returns an array containing the names of the subscribed selected mailboxes |
| 649 | 649 | * |
| 650 | 650 | * @param string $reference base mailbox to start the search |
| 651 | - * @param string $restriction_search false or 0 means return all mailboxes |
|
| 651 | + * @param integer $restriction_search false or 0 means return all mailboxes |
|
| 652 | 652 | * true or 1 return only the mailbox that contains that exact name |
| 653 | 653 | * 2 return all mailboxes in that hierarchy level |
| 654 | 654 | * @param string $returnAttributes true means return an assoc array containing mailbox names and mailbox attributes |
@@ -716,7 +716,7 @@ discard block |
||
| 716 | 716 | * Returns an array containing the names of the selected unsubscribed mailboxes |
| 717 | 717 | * |
| 718 | 718 | * @param string $reference base mailbox to start the search |
| 719 | - * @param string $restriction_search false or 0 means return all mailboxes |
|
| 719 | + * @param integer $restriction_search false or 0 means return all mailboxes |
|
| 720 | 720 | * true or 1 return only the mailbox that contains that exact name |
| 721 | 721 | * 2 return all mailboxes in that hierarchy level |
| 722 | 722 | * |
@@ -894,6 +894,7 @@ discard block |
||
| 894 | 894 | * |
| 895 | 895 | * @var array $_nameSpace |
| 896 | 896 | * @var string $_folderName |
| 897 | + * @param string $_folderName |
|
| 897 | 898 | * @return string the prefix (may be an empty string) |
| 898 | 899 | */ |
| 899 | 900 | static function getFolderPrefixFromNamespace($_nameSpace, $_folderName) |
@@ -912,7 +913,7 @@ discard block |
||
| 912 | 913 | * @param string $_mailbox |
| 913 | 914 | * @param string $delimiter |
| 914 | 915 | * @param string $prefix |
| 915 | - * @param string $reclevel = 0, counter to keep track of the current recursionlevel |
|
| 916 | + * @param integer $reclevel = 0, counter to keep track of the current recursionlevel |
|
| 916 | 917 | * @return array of mailboxes |
| 917 | 918 | */ |
| 918 | 919 | function getMailBoxesRecursive($_mailbox, $delimiter, $prefix, $reclevel=0) |
@@ -1344,7 +1345,7 @@ discard block |
||
| 1344 | 1345 | /** |
| 1345 | 1346 | * Get vacation message for given user |
| 1346 | 1347 | * |
| 1347 | - * @param int|string $_euser nummeric account_id or imap username |
|
| 1348 | + * @param string|null $_euser nummeric account_id or imap username |
|
| 1348 | 1349 | * @param string $_scriptName =null |
| 1349 | 1350 | * @throws Exception on connection error or authentication failure |
| 1350 | 1351 | * @return array |
@@ -121,6 +121,7 @@ |
||
| 121 | 121 | * @param bool $_adminConnection create admin connection if true |
| 122 | 122 | * @param int $_timeout =null timeout in secs, if none given fmail pref or default of 20 is used |
| 123 | 123 | * @throws Exception on error |
| 124 | + * @return void |
|
| 124 | 125 | */ |
| 125 | 126 | function openConnection($_adminConnection=false, $_timeout=null); |
| 126 | 127 | |
@@ -82,7 +82,7 @@ discard block |
||
| 82 | 82 | /** |
| 83 | 83 | * Constructor |
| 84 | 84 | * |
| 85 | - * @param array|Imap $params =array() |
|
| 85 | + * @param Imap $params =array() |
|
| 86 | 86 | */ |
| 87 | 87 | function __construct($params=array()) |
| 88 | 88 | { |
@@ -165,7 +165,7 @@ discard block |
||
| 165 | 165 | * |
| 166 | 166 | * @param array $_emailNotification |
| 167 | 167 | * @param string $_scriptName |
| 168 | - * @return Script |
|
| 168 | + * @return boolean |
|
| 169 | 169 | */ |
| 170 | 170 | function setEmailNotification(array $_emailNotification, $_scriptName=null) |
| 171 | 171 | { |
@@ -156,7 +156,7 @@ |
||
| 156 | 156 | /** |
| 157 | 157 | * Get the data of a given user |
| 158 | 158 | * |
| 159 | - * @param int|string $user numerical account-id, account-name or email address |
|
| 159 | + * @param integer $user numerical account-id, account-name or email address |
|
| 160 | 160 | * @param boolean $match_uid_at_domain =true true: uid@domain matches, false only an email or alias address matches |
| 161 | 161 | * @return array with values for keys 'mailLocalAddress', 'mailAlternateAddress' (array), 'mailForwardingAddress' (array), |
| 162 | 162 | * 'accountStatus' ("active"), 'quotaLimit' and 'deliveryMode' ("forwardOnly") |
@@ -628,7 +628,7 @@ |
||
| 628 | 628 | * @param int $_accountID |
| 629 | 629 | * @param string $_forwardingAddress |
| 630 | 630 | * @param string $_keepLocalCopy 'yes' |
| 631 | - * @return boolean true on success, false on error writing to ldap |
|
| 631 | + * @return boolean|null true on success, false on error writing to ldap |
|
| 632 | 632 | */ |
| 633 | 633 | function saveSMTPForwarding($_accountID, $_forwardingAddress, $_keepLocalCopy) |
| 634 | 634 | { |
@@ -251,7 +251,7 @@ discard block |
||
| 251 | 251 | /** |
| 252 | 252 | * Add one or multiple addresses to Cc |
| 253 | 253 | * |
| 254 | - * @param string|array|Horde_Mail_Rfc822_List $address |
|
| 254 | + * @param string $address |
|
| 255 | 255 | * @param string $personal ='' only used if $address is a string |
| 256 | 256 | */ |
| 257 | 257 | function addCc($address, $personal=null) |
@@ -270,7 +270,7 @@ discard block |
||
| 270 | 270 | /** |
| 271 | 271 | * Add one or multiple addresses to Bcc |
| 272 | 272 | * |
| 273 | - * @param string|array|Horde_Mail_Rfc822_List $address |
|
| 273 | + * @param string $address |
|
| 274 | 274 | * @param string $personal ='' only used if $address is a string |
| 275 | 275 | */ |
| 276 | 276 | function addBcc($address, $personal=null) |
@@ -381,7 +381,7 @@ discard block |
||
| 381 | 381 | /** |
| 382 | 382 | * Adds an embedded image or other inline attachment |
| 383 | 383 | * |
| 384 | - * @param string|resource $data Path to the attachment or open file-descriptor |
|
| 384 | + * @param string $data Path to the attachment or open file-descriptor |
|
| 385 | 385 | * @param string $cid Content ID of the attachment. Use this to identify |
| 386 | 386 | * the Id for accessing the image in an HTML form. |
| 387 | 387 | * @param string $name Overrides the attachment name. |
@@ -968,7 +968,7 @@ |
||
| 968 | 968 | * |
| 969 | 969 | * This method uses the language and nationalty set in the users common prefs. |
| 970 | 970 | * |
| 971 | - * @param $category =LC_ALL category to set, see setlocal function |
|
| 971 | + * @param integer $category =LC_ALL category to set, see setlocal function |
|
| 972 | 972 | * @param $charset =null default system charset |
| 973 | 973 | * @return string the local (or best estimate) set |
| 974 | 974 | */ |
@@ -311,6 +311,7 @@ discard block |
||
| 311 | 311 | * Encrypt the variables in the session |
| 312 | 312 | * |
| 313 | 313 | * Is called by self::__destruct(). |
| 314 | + * @param string $kp3 |
|
| 314 | 315 | */ |
| 315 | 316 | static function encrypt($kp3) |
| 316 | 317 | { |
@@ -439,7 +440,7 @@ discard block |
||
| 439 | 440 | * @param boolean $no_session =false dont create a real session, eg. for GroupDAV clients using only basic auth, no cookie support |
| 440 | 441 | * @param boolean $auth_check =true if false, the user is loged in without checking his password (eg. for single sign on), default = true |
| 441 | 442 | * @param boolean $fail_on_forced_password_change =false true: do NOT create session, if password change requested |
| 442 | - * @return string|boolean session id or false if session was not created, $this->(cd_)reason contains cause |
|
| 443 | + * @return false|string session id or false if session was not created, $this->(cd_)reason contains cause |
|
| 443 | 444 | */ |
| 444 | 445 | function create($login,$passwd = '',$passwd_type = '',$no_session=false,$auth_check=true,$fail_on_forced_password_change=false) |
| 445 | 446 | { |
@@ -1021,7 +1022,7 @@ discard block |
||
| 1021 | 1022 | /** |
| 1022 | 1023 | * Terminate a session |
| 1023 | 1024 | * |
| 1024 | - * @param int|string $sessionid nummeric or php session id of session to be terminated |
|
| 1025 | + * @param string $sessionid nummeric or php session id of session to be terminated |
|
| 1025 | 1026 | * @param string $kp3 |
| 1026 | 1027 | * @return boolean true on success, false on error |
| 1027 | 1028 | */ |
@@ -366,7 +366,7 @@ discard block |
||
| 366 | 366 | * @param string $join ='' sql to do a join, added as is after the table-name, eg. ", table2 WHERE x=y" or |
| 367 | 367 | * "LEFT JOIN table2 ON (x=y)", Note: there's no quoting done on $join! |
| 368 | 368 | * @param boolean $need_full_no_count =false If true an unlimited query is run to determine the total number of rows, default false |
| 369 | - * @param mixed $only_keys =false, see search |
|
| 369 | + * @param boolean $only_keys =false, see search |
|
| 370 | 370 | * @param string|array $extra_cols =array() |
| 371 | 371 | * @return int total number of rows |
| 372 | 372 | */ |
@@ -734,7 +734,7 @@ discard block |
||
| 734 | 734 | * Check if cf is stored as 1:N relation in DB and array in memory |
| 735 | 735 | * |
| 736 | 736 | * @param string $name |
| 737 | - * @return string |
|
| 737 | + * @return boolean |
|
| 738 | 738 | */ |
| 739 | 739 | function is_multiple($name) |
| 740 | 740 | { |