@@ -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 | { |
@@ -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 | { |
@@ -361,7 +361,6 @@ discard block |
||
| 361 | 361 | * Get options from $sel_options array for a given selectbox name |
| 362 | 362 | * |
| 363 | 363 | * @param string $name |
| 364 | - * @param boolean $no_lang=false value of no_lang attribute |
|
| 365 | 364 | * @return array |
| 366 | 365 | */ |
| 367 | 366 | public static function selOptions($name) |
@@ -400,7 +399,7 @@ discard block |
||
| 400 | 399 | * |
| 401 | 400 | * @param string $widget_type |
| 402 | 401 | * @param string $legacy_options options string of widget |
| 403 | - * @param boolean $no_lang=false initial value of no_lang attribute (some types set it to true) |
|
| 402 | + * @param boolean $no_lang initial value of no_lang attribute (some types set it to true) |
|
| 404 | 403 | * @param boolean $readonly =false |
| 405 | 404 | * @param mixed $value =null value for readonly |
| 406 | 405 | * @return array with value => label pairs |
@@ -52,7 +52,6 @@ |
||
| 52 | 52 | * @param array $expand values for keys 'c', 'row', 'c_', 'row_', 'cont' |
| 53 | 53 | * @param array $content |
| 54 | 54 | * @param array &$validated=array() validated content |
| 55 | - * @param array $expand=array values for keys 'c', 'row', 'c_', 'row_', 'cont' |
|
| 56 | 55 | */ |
| 57 | 56 | public function validate($cname, array $expand, array $content, &$validated=array()) |
| 58 | 57 | { |
@@ -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'; |
@@ -78,6 +78,7 @@ discard block |
||
| 78 | 78 | * Constructor |
| 79 | 79 | * |
| 80 | 80 | * The constructor instanciates the class in $GLOBALS['egw']->framework, from where it should be used |
| 81 | + * @param string $template |
|
| 81 | 82 | */ |
| 82 | 83 | function __construct($template) |
| 83 | 84 | { |
@@ -544,7 +545,7 @@ discard block |
||
| 544 | 545 | /** |
| 545 | 546 | * Returns Html with user and time |
| 546 | 547 | * |
| 547 | - * @return void |
|
| 548 | + * @return string |
|
| 548 | 549 | */ |
| 549 | 550 | protected static function _user_time_info() |
| 550 | 551 | { |
@@ -602,7 +603,7 @@ discard block |
||
| 602 | 603 | * |
| 603 | 604 | * @param string $username =null username for regular basic Auth |
| 604 | 605 | * @param string $password =null password --------- " ---------- |
| 605 | - * @return resource|null context to use with file_get_context/fopen or null if no proxy configured |
|
| 606 | + * @return resource context to use with file_get_context/fopen or null if no proxy configured |
|
| 606 | 607 | */ |
| 607 | 608 | public static function proxy_context($username=null, $password=null) |
| 608 | 609 | { |
@@ -970,7 +971,6 @@ discard block |
||
| 970 | 971 | * |
| 971 | 972 | * Themes are css file in the template directory |
| 972 | 973 | * |
| 973 | - * @param string $themes_dir ='css' |
|
| 974 | 974 | */ |
| 975 | 975 | function list_themes() |
| 976 | 976 | { |
@@ -1156,11 +1156,6 @@ discard block |
||
| 1156 | 1156 | /** |
| 1157 | 1157 | * Add menu items to the topmenu template class to be displayed |
| 1158 | 1158 | * |
| 1159 | - * @param array $app application data |
|
| 1160 | - * @param mixed $alt_label string with alternative menu item label default value = null |
|
| 1161 | - * @param string $urlextra string with alternate additional code inside <a>-tag |
|
| 1162 | - * @access protected |
|
| 1163 | - * @return void |
|
| 1164 | 1159 | */ |
| 1165 | 1160 | abstract function _add_topmenu_item(array $app_data,$alt_label=null); |
| 1166 | 1161 | |
@@ -1253,7 +1248,6 @@ discard block |
||
| 1253 | 1248 | * @param string $package package or complete path (relative to EGW_SERVER_ROOT) to be included |
| 1254 | 1249 | * @param string|array $file =null file to be included - no ".js" on the end or array with get params |
| 1255 | 1250 | * @param string $app ='phpgwapi' application directory to search - default = phpgwapi |
| 1256 | - * @param boolean $append =true should the file be added |
|
| 1257 | 1251 | */ |
| 1258 | 1252 | static function includeJS($package, $file=null, $app='phpgwapi') |
| 1259 | 1253 | { |
@@ -1414,7 +1408,7 @@ discard block |
||
| 1414 | 1408 | * @param string $action "add" or "delete" |
| 1415 | 1409 | * @param boolean|int|string $group ID of the group to create the favorite for, or 'all' for all users |
| 1416 | 1410 | * @param array $filters =array() key => value pairs for the filter |
| 1417 | - * @return boolean Success |
|
| 1411 | + * @return boolean|null Success |
|
| 1418 | 1412 | */ |
| 1419 | 1413 | public static function ajax_set_favorite($app, $name, $action, $group, $filters = array()) |
| 1420 | 1414 | { |
@@ -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 | { |