@@ -230,6 +230,7 @@ |
||
| 230 | 230 | * If the entry is not yet created, the file information is stored into the widget's value. |
| 231 | 231 | * When the form is submitted, the information for all files uploaded is available in the returned |
| 232 | 232 | * $content array and the application should deal with the file. |
| 233 | + * @return string |
|
| 233 | 234 | */ |
| 234 | 235 | public static function store_file($path, $file) |
| 235 | 236 | { |
@@ -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 | { |
@@ -38,7 +38,7 @@ |
||
| 38 | 38 | /** |
| 39 | 39 | * Get versions of available updates |
| 40 | 40 | * |
| 41 | - * @return array verions for keys "current" and "security" |
|
| 41 | + * @return string verions for keys "current" and "security" |
|
| 42 | 42 | */ |
| 43 | 43 | public static function available() |
| 44 | 44 | { |
@@ -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 | { |
@@ -41,7 +41,6 @@ |
||
| 41 | 41 | * |
| 42 | 42 | * Calling this method with an empty array for frame-src, sets no defaults but "'self'"! |
| 43 | 43 | * |
| 44 | - * @param string|array $set =array() URL (incl. protocol!) |
|
| 45 | 44 | * @param string $source valid CSP source types like 'script-src', 'style-src', 'connect-src', 'frame-src', ... |
| 46 | 45 | * @param string|array $attrs 'unsafe-eval' and/or 'unsafe-inline' (without quotes!) or URL (incl. protocol!) |
| 47 | 46 | */ |
@@ -254,7 +254,7 @@ |
||
| 254 | 254 | |
| 255 | 255 | /** |
| 256 | 256 | * Static function to build pgp encryption sidebox menu |
| 257 | - * @param type $appname application name |
|
| 257 | + * @param string $appname application name |
|
| 258 | 258 | */ |
| 259 | 259 | public static function pgp_encryption_menu($appname) |
| 260 | 260 | { |