@@ -121,7 +121,6 @@ |
||
121 | 121 | * saves notification into database so that the client can fetch it from there |
122 | 122 | * |
123 | 123 | * @param string $_message |
124 | - * @param array $_user_sessions |
|
125 | 124 | */ |
126 | 125 | private function save( $_message ) { |
127 | 126 | $result = $this->db->insert( self::_notification_table, array( |
@@ -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"; |
@@ -55,7 +55,7 @@ |
||
55 | 55 | * Overwritten to load our slider.js |
56 | 56 | * |
57 | 57 | * @param array $extra |
58 | - * @return type |
|
58 | + * @return string|null |
|
59 | 59 | */ |
60 | 60 | function header(array $extra=array()) |
61 | 61 | { |
@@ -292,7 +292,7 @@ |
||
292 | 292 | * @param array &$sel_options |
293 | 293 | * @param array &$readonlys |
294 | 294 | * @param array &$types on return setting-name => setting-type |
295 | - * @param etemplate $tpl |
|
295 | + * @param Etemplate $tpl |
|
296 | 296 | * @throws Api\Exception\WrongParameter |
297 | 297 | * @return array content |
298 | 298 | */ |
@@ -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)); |
@@ -28,7 +28,7 @@ |
||
28 | 28 | * Create a session or if the user has no account return authenticate header and 401 Unauthorized |
29 | 29 | * |
30 | 30 | * @param array &$account |
31 | - * @return int session-id |
|
31 | + * @return string session-id |
|
32 | 32 | */ |
33 | 33 | function check_access(&$account) |
34 | 34 | { |
@@ -43,7 +43,6 @@ discard block |
||
43 | 43 | /** |
44 | 44 | * Constructor |
45 | 45 | * |
46 | - * @param int $user=null account_id of user whos rights to return, or null for current user |
|
47 | 46 | * @param boolean $session |
48 | 47 | */ |
49 | 48 | function __construct($session=False, $user=null) |
@@ -77,7 +76,7 @@ discard block |
||
77 | 76 | * |
78 | 77 | * @author Cornelius Weiss <[email protected]> |
79 | 78 | * @param int $perm_type one of Acl::READ, Acl::ADD, Acl::EDIT, Acl::DELETE, self::DIRECT_BOOKING |
80 | - * @param int $parent_id=0 cat_id of parent to return only children of that category |
|
79 | + * @param int $parent_id cat_id of parent to return only children of that category |
|
81 | 80 | * @return array cat_id => cat_name |
82 | 81 | * TODO mark subcats and so on! |
83 | 82 | */ |
@@ -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 | { |