@@ -26,9 +26,6 @@ discard block |
||
26 | 26 | /** |
27 | 27 | * Constructor |
28 | 28 | * |
29 | - * @param boolean $data=true true: send only the remote_hash, domain and webserver_url, |
|
30 | - * false: the complete header vars, plus install_id and webserver_url from the config table, |
|
31 | - * null: only the header vars |
|
32 | 29 | */ |
33 | 30 | function __construct($data=true,$header_admin_user=null,$header_admin_password=null) |
34 | 31 | { |
@@ -47,7 +44,7 @@ discard block |
||
47 | 44 | /** |
48 | 45 | * show/return the header.inc.php |
49 | 46 | * |
50 | - * @param boolean $check_only=false only run the checks (and throw the exceptions), but not the command itself |
|
47 | + * @param boolean $check_only only run the checks (and throw the exceptions), but not the command itself |
|
51 | 48 | * @return string serialized $GLOBALS defined in the header.inc.php |
52 | 49 | * @throws Exception(lang('Wrong credentials to access the header.inc.php file!'),2); |
53 | 50 | * @throws Exception('header.inc.php not found!'); |
@@ -162,7 +159,7 @@ discard block |
||
162 | 159 | /** |
163 | 160 | * Saving the object to the database, reimplemented to only the save the command if it runs remote |
164 | 161 | * |
165 | - * @param boolean $set_modifier=true set the current user as modifier or 0 (= run by the system) |
|
162 | + * @param boolean $set_modifier set the current user as modifier or 0 (= run by the system) |
|
166 | 163 | * @return boolean true on success, false otherwise |
167 | 164 | */ |
168 | 165 | function save($set_modifier=true) |
@@ -24,11 +24,10 @@ discard block |
||
24 | 24 | * Constructor |
25 | 25 | * |
26 | 26 | * @param string|array $domain string with domain-name or array with all arguments |
27 | - * @param string $config_user=null user to config the domain (or header_admin_user) |
|
28 | - * @param string $config_passwd=null pw of above user |
|
29 | - * @param string $backup=null filename of backup to use instead of new install, default new install |
|
30 | - * @param boolean $verbose=false if true, echos out some status information during the run |
|
31 | - * @param string $app=null single application to update or install |
|
27 | + * @param string $config_user user to config the domain (or header_admin_user) |
|
28 | + * @param string $config_passwd pw of above user |
|
29 | + * @param string $backup filename of backup to use instead of new install, default new install |
|
30 | + * @param boolean $verbose if true, echos out some status information during the run |
|
32 | 31 | */ |
33 | 32 | function __construct($domain,$config_user=null,$config_passwd=null,$backup=null,$verbose=false,$app=null) |
34 | 33 | { |
@@ -50,7 +49,7 @@ discard block |
||
50 | 49 | /** |
51 | 50 | * run the command: update or install/update a single app ($this->app) |
52 | 51 | * |
53 | - * @param boolean $check_only=false only run the checks (and throw the exceptions), but not the command itself |
|
52 | + * @param boolean $check_only only run the checks (and throw the exceptions), but not the command itself |
|
54 | 53 | * @return string success message |
55 | 54 | * @throws Exception(lang('Wrong credentials to access the header.inc.php file!'),2); |
56 | 55 | * @throws Exception('header.inc.php not found!'); |
@@ -58,7 +58,6 @@ discard block |
||
58 | 58 | * Sets $GLOBALS['egw_info'], $GLOBALS['egw_domains'] and the defines EGW_SERVER_ROOT and EGW_INCLUDE_ROOT, |
59 | 59 | * as if the header has been included |
60 | 60 | * |
61 | - * @param string $domain='default' domain to set |
|
62 | 61 | */ |
63 | 62 | function defaults($domain='default') |
64 | 63 | { |
@@ -149,7 +148,7 @@ discard block |
||
149 | 148 | * should write an identical header.inc.php as the one include |
150 | 149 | * |
151 | 150 | * @param array $egw_info usual content (in server key) plus keys server_root and include_root |
152 | - * @param array $egw_domains info about the existing eGW domains / DB instances |
|
151 | + * @param array $egw_domain info about the existing eGW domains / DB instances |
|
153 | 152 | * @return string content of header.inc.php |
154 | 153 | */ |
155 | 154 | function generate($egw_info,$egw_domain) |
@@ -51,10 +51,7 @@ discard block |
||
51 | 51 | * the mother of all multipass upgrade parental loop functions |
52 | 52 | * |
53 | 53 | * @param array $setup_info array of application info from setup.inc.php files |
54 | - * @param string $type='new' defaults to new(install), could also be 'upgrade' |
|
55 | - * @param boolean $DEBUG=false print debugging info |
|
56 | - * @param boolean $force_en=false install english language files |
|
57 | - * @param string $system_charset=null charset to use |
|
54 | + * @param boolean $force_en install english language files |
|
58 | 55 | * @param array $preset_config=array() |
59 | 56 | */ |
60 | 57 | function pass(array $setup_info,$method='new',$DEBUG=False,$force_en=False,$preset_config=array()) |
@@ -366,7 +363,6 @@ discard block |
||
366 | 363 | * process current table setup in each application/setup dir |
367 | 364 | * |
368 | 365 | * @param array $setup_info array of application info from setup.inc.php files, etc. |
369 | - * @param boolean $DEBUG=false output further diagnostics |
|
370 | 366 | * @return array $setup_info |
371 | 367 | */ |
372 | 368 | function current(array $setup_info,$DEBUG=False) |
@@ -449,7 +445,6 @@ discard block |
||
449 | 445 | * process default_records.inc.php in each application/setup dir |
450 | 446 | * |
451 | 447 | * @param array $setup_info array of application info from setup.inc.php files, etc. |
452 | - * @param boolean $DEBUG=false output further diagnostics |
|
453 | 448 | * @return array $setup_info |
454 | 449 | */ |
455 | 450 | function default_records(array $setup_info,$DEBUG=False) |
@@ -489,7 +484,6 @@ discard block |
||
489 | 484 | * This data should work with the baseline tables |
490 | 485 | * |
491 | 486 | * @param array $setup_info array of application info from setup.inc.php files, etc. |
492 | - * @param boolean $DEBUG=false output further diagnostics |
|
493 | 487 | * @return array $setup_info |
494 | 488 | */ |
495 | 489 | function test_data(array $setup_info,$DEBUG=False) |
@@ -522,7 +516,6 @@ discard block |
||
522 | 516 | * process baseline table setup in each application/setup dir |
523 | 517 | * |
524 | 518 | * @param array $setup_info array of application info from setup.inc.php files, etc. |
525 | - * @param boolean $DEBUG=false output further diagnostics |
|
526 | 519 | * @return array $setup_info |
527 | 520 | */ |
528 | 521 | function baseline(array $setup_info,$DEBUG=False) |
@@ -566,7 +559,6 @@ discard block |
||
566 | 559 | * process available upgrades in each application/setup dir |
567 | 560 | * |
568 | 561 | * @param array $setup_info array of application info from setup.inc.php files, etc. |
569 | - * @param boolean $DEBUG=false output further diagnostics |
|
570 | 562 | * @return array $setup_info |
571 | 563 | */ |
572 | 564 | function upgrade($setup_info,$DEBUG=False) |
@@ -104,7 +104,7 @@ discard block |
||
104 | 104 | /** |
105 | 105 | * Languages we support (alphabetically sorted) |
106 | 106 | * |
107 | - * @param boolean $array_values=true true: values are an array, false values are just the descriptiong |
|
107 | + * @param boolean $array_values true: values are an array, false values are just the descriptiong |
|
108 | 108 | * @return array |
109 | 109 | */ |
110 | 110 | static function get_supported_langs($array_values=true) |
@@ -150,7 +150,6 @@ discard block |
||
150 | 150 | |
151 | 151 | /** |
152 | 152 | * List availible charsets and it's supported languages |
153 | - * @param boolean/string $name=false name for selectbox or false to return an array |
|
154 | 153 | * @param string $selected selected charset |
155 | 154 | * @return string/array html for a selectbox or array with charset / languages pairs |
156 | 155 | */ |
@@ -206,7 +206,6 @@ |
||
206 | 206 | /** |
207 | 207 | * Updates the default EMailAdmin profile |
208 | 208 | * |
209 | - * @param array $values |
|
210 | 209 | */ |
211 | 210 | function do_emailadmin() |
212 | 211 | { |
@@ -82,7 +82,6 @@ |
||
82 | 82 | * |
83 | 83 | * @param array $element source project element representing an InfoLog entry, $element['pe_app_id'] = info_id |
84 | 84 | * @param int $target target project id |
85 | - * @param array $target_data=null data of target-project, atm not used by the infolog datasource |
|
86 | 85 | * @return array/boolean array(info_id,link_id) on success, false otherwise |
87 | 86 | */ |
88 | 87 | function copy($element,$target,$extra=null) |
@@ -86,8 +86,6 @@ |
||
86 | 86 | * Here we need to handle any incoming data. Setup is done in the constructor, |
87 | 87 | * output is handled by parent. |
88 | 88 | * |
89 | - * @param type $id |
|
90 | - * @param etemplate_new $etemplate |
|
91 | 89 | */ |
92 | 90 | public static function process($content = array()) |
93 | 91 | { |
@@ -62,7 +62,6 @@ discard block |
||
62 | 62 | /** |
63 | 63 | * Constructor |
64 | 64 | * |
65 | - * @param timesheet_bo $botimesheet |
|
66 | 65 | * @return timesheet_tracking |
67 | 66 | */ |
68 | 67 | function __construct(timesheet_bo $bo) |
@@ -81,12 +80,7 @@ discard block |
||
81 | 80 | /** |
82 | 81 | * Get a notification-config value |
83 | 82 | * |
84 | - * @param string $what |
|
85 | - * - 'copy' array of email addresses notifications should be copied too, can depend on $data |
|
86 | - * - 'lang' string lang code for copy mail |
|
87 | - * - 'sender' string send email address |
|
88 | 83 | * @param array $data current entry |
89 | - * @param array $old=null old/last state of the entry or null for a new entry |
|
90 | 84 | * @return mixed |
91 | 85 | */ |
92 | 86 | function get_config($name,$data,$old=null) |