@@ -108,8 +108,7 @@ discard block |
||
108 | 108 | /** |
109 | 109 | * imports entries according to given definition object. |
110 | 110 | * @param resource $_stream |
111 | - * @param string $_charset |
|
112 | - * @param definition $_definition |
|
111 | + * @param importexport_definition $_definition |
|
113 | 112 | */ |
114 | 113 | public function import( $_stream, importexport_definition $_definition ) { |
115 | 114 | $import_csv = new importexport_import_csv( $_stream, array( |
@@ -527,6 +526,7 @@ discard block |
||
527 | 526 | * |
528 | 527 | * This is a copy of what's in importexport_basic_import_csv, and can go |
529 | 528 | * away if this is changed to extend it |
529 | + * @param integer $record_num |
|
530 | 530 | */ |
531 | 531 | protected function link_by_cf($record_num, $app, $fieldname, $_value) |
532 | 532 | { |
@@ -125,7 +125,6 @@ |
||
125 | 125 | /** |
126 | 126 | * Constructor |
127 | 127 | * |
128 | - * @param botracker $botracker |
|
129 | 128 | * @return tracker_tracking |
130 | 129 | */ |
131 | 130 | function __construct(&$infolog_bo) |
@@ -18,7 +18,7 @@ |
||
18 | 18 | * callback if the session-check fails, redirects to login.php, if no valid basic auth credentials given |
19 | 19 | * |
20 | 20 | * @param array &$anon_account anon account_info with keys 'login', 'passwd' and optional 'passwd_type' |
21 | - * @return boolean|string true if we allow anon access and anon_account is set, a sessionid or false otherwise |
|
21 | + * @return string|null true if we allow anon access and anon_account is set, a sessionid or false otherwise |
|
22 | 22 | */ |
23 | 23 | function login_redirect(&$anon_account) |
24 | 24 | { |
@@ -277,8 +277,6 @@ |
||
277 | 277 | * Update ACL rights of a folder or including subfolders for an account(s) |
278 | 278 | * |
279 | 279 | * @param array $content content including the acl rights |
280 | - * @param Boolean $recursive boolean flag FALSE|TRUE. If it is FALSE, only the folder take in to account, but in case of TRUE |
|
281 | - * the mailbox including all its subfolders will be considered. |
|
282 | 280 | * @param string $msg Message |
283 | 281 | * |
284 | 282 | */ |
@@ -1960,7 +1960,7 @@ |
||
1960 | 1960 | /** |
1961 | 1961 | * Gather the replyData and save it with the session, to be used then |
1962 | 1962 | * |
1963 | - * @param $_mode can be: |
|
1963 | + * @param string $_mode can be: |
|
1964 | 1964 | * single: for a reply to one address |
1965 | 1965 | * all: for a reply to all |
1966 | 1966 | * forward: inlineforwarding of a message with its attachments |
@@ -1278,7 +1278,7 @@ |
||
1278 | 1278 | * int $_searchStringLength |
1279 | 1279 | * @param boolean $_returnList |
1280 | 1280 | * @param int $_mailaccountToSearch |
1281 | - * @param boolean $_noPrefixID = false, if set to true folders name does not get prefixed by account id |
|
1281 | + * @param boolean $_noPrefixId = false, if set to true folders name does not get prefixed by account id |
|
1282 | 1282 | */ |
1283 | 1283 | function ajax_getFolders ($_searchStringLength=2, $_returnList=false, $_mailaccountToSearch=null, $_noPrefixId=false) |
1284 | 1284 | { |
@@ -76,7 +76,7 @@ discard block |
||
76 | 76 | * @param string $_profileID icServer profile id |
77 | 77 | * @param string $_err error message to be shown on tree node |
78 | 78 | * @param mixed $_path |
79 | - * @param mixed $_parent |
|
79 | + * @param string $_parent |
|
80 | 80 | * @return array returns an array of tree node |
81 | 81 | */ |
82 | 82 | static function treeLeafNoConnectionArray($_profileID, $_err, $_path, $_parent) |
@@ -123,7 +123,7 @@ discard block |
||
123 | 123 | /** |
124 | 124 | * Check if the given tree id is account node (means root) |
125 | 125 | * |
126 | - * @param type $_node a tree id node |
|
126 | + * @param string|null $_node a tree id node |
|
127 | 127 | * @return boolean returns true if the node is account node otherwise false |
128 | 128 | */ |
129 | 129 | private static function isAccountNode ($_node) |
@@ -155,7 +155,7 @@ discard block |
||
155 | 155 | * |
156 | 156 | * @param string $_parent = null no parent node means root with the first level of folders |
157 | 157 | * @param string $_profileID = '' icServer id |
158 | - * @param int|boolean $_openTopLevel = 1 Open top level folders on load if it's set to 1|true, |
|
158 | + * @param integer $_openTopLevel = 1 Open top level folders on load if it's set to 1|true, |
|
159 | 159 | * false|0 leaves them in closed state |
160 | 160 | * @param $_noCheckboxNS = false no checkbox for namesapaces makes sure to not put checkbox for namespaces node |
161 | 161 | * @param boolean $_subscribedOnly = false get only subscribed folders |
@@ -443,7 +443,7 @@ discard block |
||
443 | 443 | * |
444 | 444 | * @param type $_profileID = null Null means all accounts and giving profileid means fetches node for the account |
445 | 445 | * @param type $_noCheckbox = false option to switch checkbox of |
446 | - * @param type $_openTopLevel = 0 option to either start the node opened (1) or closed (0) |
|
446 | + * @param integer $_openTopLevel = 0 option to either start the node opened (1) or closed (0) |
|
447 | 447 | * |
448 | 448 | * @return array an array of baseNodes of accounts |
449 | 449 | */ |
@@ -491,7 +491,7 @@ discard block |
||
491 | 491 | * |
492 | 492 | * @param string $_parent = null no parent node means root with the first level of folders |
493 | 493 | * @param string $_profileID = '' active profile / acc_id |
494 | - * @param int|boolean $_openTopLevel = 1 Open top level folders on load if it's set to 1|true, |
|
494 | + * @param integer $_openTopLevel = 1 Open top level folders on load if it's set to 1|true, |
|
495 | 495 | * false|0 leaves them in closed state |
496 | 496 | * @param boolean $_subscribedOnly = false get only subscribed folders |
497 | 497 | * @param boolean $_allInOneGo = false, true will get all folders (dependes on subscribedOnly option) of the account in one go |
@@ -434,7 +434,7 @@ |
||
434 | 434 | * Sets backends that should be skipped even if the user |
435 | 435 | * defined them in its chain |
436 | 436 | * |
437 | - * @param array $_skip_backends array with names of the backends to be skipped |
|
437 | + * @param string[] $_skip_backends array with names of the backends to be skipped |
|
438 | 438 | * e.g. array('popup', 'winpopup') |
439 | 439 | */ |
440 | 440 | public function set_skip_backends(array $_skip_backends) { |
@@ -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; } |