@@ -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 | { |
@@ -101,7 +101,6 @@ discard block |
||
101 | 101 | /** |
102 | 102 | * Put date in the proper format for sending to client |
103 | 103 | * @param string|int $value |
104 | - * @param string $format |
|
105 | 104 | */ |
106 | 105 | public function format_date($value) |
107 | 106 | { |
@@ -139,7 +138,7 @@ discard block |
||
139 | 138 | * @param array $expand values for keys 'c', 'row', 'c_', 'row_', 'cont' |
140 | 139 | * @param array $content |
141 | 140 | * @param array &$validated=array() validated content |
142 | - * @return boolean true if no validation error, false otherwise |
|
141 | + * @return boolean|null true if no validation error, false otherwise |
|
143 | 142 | */ |
144 | 143 | public function validate($cname, array $expand, array $content, &$validated=array()) |
145 | 144 | { |
@@ -102,7 +102,6 @@ |
||
102 | 102 | * @param array $expand values for keys 'c', 'row', 'c_', 'row_', 'cont' |
103 | 103 | * @param array $content |
104 | 104 | * @param array &$validated=array() validated content |
105 | - * @param array $expand=array values for keys 'c', 'row', 'c_', 'row_', 'cont' |
|
106 | 105 | */ |
107 | 106 | public function validate($cname, array $expand, array $content, &$validated=array()) |
108 | 107 | { |
@@ -55,7 +55,7 @@ discard block |
||
55 | 55 | * |
56 | 56 | * @param string|XMLReader $xml |
57 | 57 | * @param boolean $cloned =true true: object does NOT need to be cloned, false: to set attribute, set them in cloned object |
58 | - * @return Template current object or clone, if any attribute was set |
|
58 | + * @return Textbox current object or clone, if any attribute was set |
|
59 | 59 | */ |
60 | 60 | public function set_attrs($xml, $cloned=true) |
61 | 61 | { |
@@ -110,7 +110,6 @@ discard block |
||
110 | 110 | * @param array $expand values for keys 'c', 'row', 'c_', 'row_', 'cont' |
111 | 111 | * @param array $content |
112 | 112 | * @param array &$validated=array() validated content |
113 | - * @param array $expand=array values for keys 'c', 'row', 'c_', 'row_', 'cont' |
|
114 | 113 | */ |
115 | 114 | public function validate($cname, array $expand, array $content, &$validated=array()) |
116 | 115 | { |
@@ -19,6 +19,9 @@ |
||
19 | 19 | */ |
20 | 20 | class Admin extends App |
21 | 21 | { |
22 | + /** |
|
23 | + * @param string $msg |
|
24 | + */ |
|
22 | 25 | function __construct($msg=null,$code=102) |
23 | 26 | { |
24 | 27 | if (is_null($msg)) $msg = 'admin'; |
@@ -356,11 +356,6 @@ |
||
356 | 356 | /** |
357 | 357 | * Add menu items to the topmenu template class to be displayed |
358 | 358 | * |
359 | - * @param array $app application data |
|
360 | - * @param mixed $alt_label string with alternative menu item label default value = null |
|
361 | - * @param string $urlextra string with alternate additional code inside <a>-tag |
|
362 | - * @access protected |
|
363 | - * @return void |
|
364 | 359 | */ |
365 | 360 | function _add_topmenu_item(array $app_data,$alt_label=null) |
366 | 361 | { |
@@ -145,7 +145,7 @@ |
||
145 | 145 | * Parse beginning of given CSS file for /*@import url("...") statements |
146 | 146 | * |
147 | 147 | * @param string $path EGroupware relative path eg. /phpgwapi/templates/default/some.css |
148 | - * @return array parsed pathes (EGroupware relative) including $path itself |
|
148 | + * @return string[] parsed pathes (EGroupware relative) including $path itself |
|
149 | 149 | */ |
150 | 150 | protected static function resolve_css_includes($path, &$pathes=array()) |
151 | 151 | { |
@@ -187,7 +187,7 @@ |
||
187 | 187 | * @param string $action "add" or "delete" |
188 | 188 | * @param boolean|int|String $group ID of the group to create the favorite for, or 'all' for all users |
189 | 189 | * @param array $filters key => value pairs for the filter |
190 | - * @return boolean Success |
|
190 | + * @return boolean|null Success |
|
191 | 191 | */ |
192 | 192 | public static function set_favorite($app, $_name, $action, $group, $filters = array()) |
193 | 193 | { |
@@ -234,7 +234,7 @@ |
||
234 | 234 | * @param string $realm |
235 | 235 | * @param string $username |
236 | 236 | * @param string &$password=null password to use or if null, on return stored password |
237 | - * @return string|boolean false if $password not given and can NOT be read |
|
237 | + * @return false|string false if $password not given and can NOT be read |
|
238 | 238 | */ |
239 | 239 | static private function get_digest_A1($realm,$username,&$password=null) |
240 | 240 | { |