@@ -42,7 +42,7 @@ |
||
42 | 42 | * @param array $expand values for keys 'c', 'row', 'c_', 'row_', 'cont' |
43 | 43 | * @param array $content |
44 | 44 | * @param array &$validated=array() validated content |
45 | - * @return boolean true if no validation error, false otherwise |
|
45 | + * @return boolean|null true if no validation error, false otherwise |
|
46 | 46 | */ |
47 | 47 | public function validate($cname, array $expand, array $content, &$validated=array()) |
48 | 48 | { |
@@ -42,7 +42,7 @@ |
||
42 | 42 | * @param array $expand values for keys 'c', 'row', 'c_', 'row_', 'cont' |
43 | 43 | * @param array $content |
44 | 44 | * @param array &$validated=array() validated content |
45 | - * @return boolean true if no validation error, false otherwise |
|
45 | + * @return boolean|null true if no validation error, false otherwise |
|
46 | 46 | */ |
47 | 47 | public function validate($cname, array $expand, array $content, &$validated=array()) |
48 | 48 | { |
@@ -81,7 +81,7 @@ |
||
81 | 81 | * |
82 | 82 | * @param string $key Cache key to expire. |
83 | 83 | * |
84 | - * @return boolean Success or failure. |
|
84 | + * @return boolean|null Success or failure. |
|
85 | 85 | */ |
86 | 86 | public function expire($key) |
87 | 87 | { |
@@ -156,7 +156,7 @@ discard block |
||
156 | 156 | * @param string $parent name of tempalte containing $handle |
157 | 157 | * @param string $handle name of part |
158 | 158 | * @param string $name name of variable/placeholder |
159 | - * @return boolean |
|
159 | + * @return false|null |
|
160 | 160 | */ |
161 | 161 | function set_block($parent, $handle, $name = '') |
162 | 162 | { |
@@ -311,6 +311,8 @@ discard block |
||
311 | 311 | |
312 | 312 | /** |
313 | 313 | * This is short for finish parse |
314 | + * @param string $target |
|
315 | + * @param string $handle |
|
314 | 316 | */ |
315 | 317 | function fp($target, $handle, $append = False) |
316 | 318 | { |
@@ -319,6 +321,8 @@ discard block |
||
319 | 321 | |
320 | 322 | /** |
321 | 323 | * This is a short cut for print finish parse |
324 | + * @param string $target |
|
325 | + * @param string $handle |
|
322 | 326 | */ |
323 | 327 | function pfp($target, $handle, $append = False) |
324 | 328 | { |
@@ -365,6 +369,7 @@ discard block |
||
365 | 369 | * Return undefined variables/placeholders of a handle |
366 | 370 | * |
367 | 371 | * @param string handle handle of a template |
372 | + * @param string $handle |
|
368 | 373 | * @return array|boolean array with undefined variables as key and value, or false if none |
369 | 374 | */ |
370 | 375 | function get_undefined($handle) |
@@ -996,8 +996,8 @@ discard block |
||
996 | 996 | * @param int &$success number of succeded actions |
997 | 997 | * @param int &$failed number of failed actions (not enought permissions) |
998 | 998 | * @param string &$action_msg translated verb for the actions, to be used in a message like %1 contacts 'deleted' |
999 | - * @param string/array $session_name 'index' or 'email', or array with session-data depending if we are in the main list or the popup |
|
1000 | - * @return boolean true if all actions succeded, false otherwise |
|
999 | + * @param string $session_name 'index' or 'email', or array with session-data depending if we are in the main list or the popup |
|
1000 | + * @return null|boolean true if all actions succeded, false otherwise |
|
1001 | 1001 | */ |
1002 | 1002 | function action($action,$checked,$use_all,&$success,&$failed,&$action_msg,$session_name,&$msg, $checkboxes = NULL) |
1003 | 1003 | { |
@@ -1857,9 +1857,7 @@ discard block |
||
1857 | 1857 | /** |
1858 | 1858 | * Edit a contact |
1859 | 1859 | * |
1860 | - * @param array $content=null submitted content |
|
1861 | - * @param int $_GET['contact_id'] contact_id mainly for popup use |
|
1862 | - * @param bool $_GET['makecp'] true if you want to copy the contact given by $_GET['contact_id'] |
|
1860 | + * @param array $content submitted content |
|
1863 | 1861 | */ |
1864 | 1862 | function edit($content=null) |
1865 | 1863 | { |
@@ -130,7 +130,7 @@ |
||
130 | 130 | /** |
131 | 131 | * Just a little abstration 'til I know how to organise stuff like that with PDO |
132 | 132 | * |
133 | - * @param mixed $time |
|
133 | + * @param integer $time |
|
134 | 134 | * @return string Y-m-d H:i:s |
135 | 135 | */ |
136 | 136 | static public function _pdo_timestamp($time) |
@@ -961,7 +961,7 @@ |
||
961 | 961 | * |
962 | 962 | * This method uses the language and nationalty set in the users common prefs. |
963 | 963 | * |
964 | - * @param $category =LC_MESSAGES category to set, see setlocal function |
|
964 | + * @param integer $category =LC_MESSAGES category to set, see setlocal function |
|
965 | 965 | * @param $charset =null default system charset |
966 | 966 | * @return string the local (or best estimate) set |
967 | 967 | */ |
@@ -241,7 +241,6 @@ |
||
241 | 241 | * changes password in sql datababse |
242 | 242 | * |
243 | 243 | * @param string $encrypted_passwd |
244 | - * @param string $new_passwd cleartext |
|
245 | 244 | * @param int $account_id account id of user whose passwd should be changed |
246 | 245 | * @param boolean $admin =false called by admin, if not update password in the session |
247 | 246 | * @param boolean $update_lastpw_change =true |
@@ -101,8 +101,7 @@ discard block |
||
101 | 101 | /** |
102 | 102 | * imports entries according to given definition object. |
103 | 103 | * @param resource $_stream |
104 | - * @param string $_charset |
|
105 | - * @param definition $_definition |
|
104 | + * @param importexport_definition $_definition |
|
106 | 105 | */ |
107 | 106 | public function import( $_stream, importexport_definition $_definition ) { |
108 | 107 | |
@@ -157,7 +156,6 @@ discard block |
||
157 | 156 | /** |
158 | 157 | * Add a warning message about conflicting events |
159 | 158 | * |
160 | - * @param int $record_num Current record index |
|
161 | 159 | * @param Array $conflicts List of found conflicting events |
162 | 160 | */ |
163 | 161 | public function conflict_warning(&$event, &$conflicts) |