@@ -536,6 +536,9 @@ discard block |
||
536 | 536 | * @param int &$errs=null on return number of errors |
537 | 537 | * @param int &$dirs=null on return number of dirs deleted |
538 | 538 | * @param int &$files=null on return number of files deleted |
539 | + * @param integer $errs |
|
540 | + * @param integer $files |
|
541 | + * @param integer $dirs |
|
539 | 542 | * @return string success or failure message displayed to the user |
540 | 543 | */ |
541 | 544 | static public function action($action,$selected,$dir=null,&$errs=null,&$files=null,&$dirs=null) |
@@ -704,6 +707,9 @@ discard block |
||
704 | 707 | * @param int &$errs=null on return number of errors |
705 | 708 | * @param int &$dirs=null on return number of dirs deleted |
706 | 709 | * @param int &$files=null on return number of files deleted |
710 | + * @param integer $errs |
|
711 | + * @param integer $dirs |
|
712 | + * @param integer $files |
|
707 | 713 | * @return string |
708 | 714 | */ |
709 | 715 | public static function do_delete(array $selected, &$errs=null, &$dirs=null, &$files=null) |
@@ -1325,7 +1331,6 @@ discard block |
||
1325 | 1331 | * |
1326 | 1332 | * @param string $action eg. 'delete', ... |
1327 | 1333 | * @param array $selected selected path(s) |
1328 | - * @param string $dir=null current directory |
|
1329 | 1334 | * @see static::action() |
1330 | 1335 | */ |
1331 | 1336 | public static function ajax_action($action, $selected, $dir=null, $props=null) |
@@ -155,7 +155,7 @@ |
||
155 | 155 | * Get a list of the user's portlets, and their associated values & settings, for display |
156 | 156 | * |
157 | 157 | * Actual portlet content is provided by each portlet. |
158 | - * @param template etemplate so attributes can be set |
|
158 | + * @param template Etemplate so attributes can be set |
|
159 | 159 | */ |
160 | 160 | protected function get_user_portlets(Etemplate &$template) |
161 | 161 | { |
@@ -118,8 +118,7 @@ discard block |
||
118 | 118 | /** |
119 | 119 | * imports entries according to given definition object. |
120 | 120 | * @param resource $_stream |
121 | - * @param string $_charset |
|
122 | - * @param definition $_definition |
|
121 | + * @param importexport_definition $_definition |
|
123 | 122 | */ |
124 | 123 | public function import( $_stream, importexport_definition $_definition ) { |
125 | 124 | $import_csv = new importexport_import_csv( $_stream, array( |
@@ -222,7 +221,7 @@ discard block |
||
222 | 221 | * |
223 | 222 | * Updates the count of actions taken |
224 | 223 | * |
225 | - * @return boolean success |
|
224 | + * @return null|boolean success |
|
226 | 225 | */ |
227 | 226 | protected function import_record(importexport_iface_egw_record &$record, &$import_csv) |
228 | 227 | { |
@@ -274,7 +273,7 @@ discard block |
||
274 | 273 | * @param condition array = array('string' => field name) |
275 | 274 | * @param matches - On return, will be filled with matching records |
276 | 275 | * |
277 | - * @return boolean |
|
276 | + * @return boolean|null |
|
278 | 277 | */ |
279 | 278 | protected function exists(importexport_iface_egw_record &$record, Array &$condition, &$matches = array()) |
280 | 279 | { |
@@ -451,7 +450,7 @@ discard block |
||
451 | 450 | /** |
452 | 451 | * Allows an extending class to alter a row for preview |
453 | 452 | * |
454 | - * @param egw_record $row_entry |
|
453 | + * @param importexport_iface_egw_record $row_entry |
|
455 | 454 | */ |
456 | 455 | protected function row_preview(importexport_iface_egw_record &$row_entry) |
457 | 456 | { |
@@ -523,7 +522,7 @@ discard block |
||
523 | 522 | * Get the primary key for an entry based on a custom field |
524 | 523 | * Returns key, so regular linking can take over |
525 | 524 | * |
526 | - * @param int $record_number Row number, used for errors |
|
525 | + * @param int $record_num Row number, used for errors |
|
527 | 526 | * @param string $app Target application name |
528 | 527 | * @param string $value CSV value in the form of custom_field_name:value |
529 | 528 | */ |
@@ -139,7 +139,6 @@ discard block |
||
139 | 139 | /** |
140 | 140 | * Save a definition |
141 | 141 | * |
142 | - * @param definition $definition |
|
143 | 142 | */ |
144 | 143 | public function save(Array $data) { |
145 | 144 | $definition = new importexport_definition(); |
@@ -209,7 +208,7 @@ discard block |
||
209 | 208 | /** |
210 | 209 | * imports definitions from file |
211 | 210 | * |
212 | - * @param string $import_file |
|
211 | + * @param string $_import_file |
|
213 | 212 | * @throws Exeption |
214 | 213 | * @return void |
215 | 214 | */ |
@@ -268,7 +267,6 @@ discard block |
||
268 | 267 | * It is not possible to handle some plugin options automatically, because they |
269 | 268 | * just don't have equivalents. (eg: What to do with unknown categories) |
270 | 269 | * |
271 | - * @param importexport_definition $definition Import definition |
|
272 | 270 | * |
273 | 271 | * @return importexport_definition Export definition |
274 | 272 | */ |
@@ -82,7 +82,7 @@ discard block |
||
82 | 82 | /** |
83 | 83 | * List defined {im|ex}ports |
84 | 84 | * |
85 | - * @param array $content=null |
|
85 | + * @param array $content |
|
86 | 86 | */ |
87 | 87 | function index($content = null,$msg='') |
88 | 88 | { |
@@ -309,8 +309,9 @@ discard block |
||
309 | 309 | * @param int &$success number of succeded actions |
310 | 310 | * @param int &$failed number of failed actions (not enought permissions) |
311 | 311 | * @param string &$action_msg translated verb for the actions, to be used in a message like %1 entries 'deleted' |
312 | - * @param string/array $session_name 'index' or 'email', or array with session-data depending if we are in the main list or the popup |
|
313 | - * @return boolean true if all actions succeded, false otherwise |
|
312 | + * @param string $session_name 'index' or 'email', or array with session-data depending if we are in the main list or the popup |
|
313 | + * @param string $msg |
|
314 | + * @return null|boolean true if all actions succeded, false otherwise |
|
314 | 315 | */ |
315 | 316 | function action($action,$selected,$use_all,&$success,&$failed,&$action_msg,$session_name,&$msg) |
316 | 317 | { |
@@ -96,7 +96,7 @@ discard block |
||
96 | 96 | * |
97 | 97 | * @param stram $_stream resource where records are exported to. |
98 | 98 | * @param array _options options for specific backends |
99 | - * @return bool |
|
99 | + * @return boolean|null |
|
100 | 100 | */ |
101 | 101 | public function __construct( $_stream, array $_options ) { |
102 | 102 | if (!is_object($GLOBALS['egw']->translation)) { |
@@ -151,7 +151,7 @@ discard block |
||
151 | 151 | * exports a record into resource of handle |
152 | 152 | * |
153 | 153 | * @param importexport_iface_egw_record record |
154 | - * @return bool |
|
154 | + * @return boolean|null |
|
155 | 155 | */ |
156 | 156 | public function export_record( importexport_iface_egw_record $_record ) { |
157 | 157 | $this->record = $_record; |
@@ -284,7 +284,7 @@ discard block |
||
284 | 284 | * |
285 | 285 | * Uses the static variable $types to convert various datatypes. |
286 | 286 | * |
287 | - * @param record Record to be converted |
|
287 | + * @param record importexport_iface_egw_record to be converted |
|
288 | 288 | * @parem fields List of field types => field names to be converted |
289 | 289 | * @param appname Current appname if you want to do custom fields too |
290 | 290 | */ |
@@ -123,7 +123,7 @@ discard block |
||
123 | 123 | /** |
124 | 124 | * converts accound_lid to account_id |
125 | 125 | * |
126 | - * @param mixed $_account_lid comma seperated list or array with lids |
|
126 | + * @param mixed $_account_lids comma seperated list or array with lids |
|
127 | 127 | * @return mixed comma seperated list or array with ids |
128 | 128 | */ |
129 | 129 | public static function account_name2id( &$_account_lids ) { |
@@ -203,7 +203,7 @@ discard block |
||
203 | 203 | /** |
204 | 204 | * converts account_ids to account_lids |
205 | 205 | * |
206 | - * @param mixed $_account_ids comma seperated list or array with ids |
|
206 | + * @param mixed $_account_id comma seperated list or array with ids |
|
207 | 207 | * @return mixed comma seperated list or array with lids |
208 | 208 | */ |
209 | 209 | public static function account_id2name( $_account_id ) { |
@@ -419,7 +419,7 @@ discard block |
||
419 | 419 | /** |
420 | 420 | * returns a list of importexport plugins |
421 | 421 | * |
422 | - * @param string $_tpye {import | export | all} |
|
422 | + * @param string $_type {import | export | all} |
|
423 | 423 | * @param string $_appname {<appname> | all} |
424 | 424 | * @return array(<appname> => array( <type> => array(<plugin> => <title>))) |
425 | 425 | */ |
@@ -591,6 +591,7 @@ discard block |
||
591 | 591 | * |
592 | 592 | * @param $app_name String name of app |
593 | 593 | * @param $plugin_name Name of the plugin |
594 | + * @param importexport_wizard_basic_export_csv $wizard_plugin |
|
594 | 595 | * |
595 | 596 | * @return Array ([fieldname] => array(widget settings), ...) |
596 | 597 | */ |
@@ -35,6 +35,7 @@ discard block |
||
35 | 35 | * reads record from backend if identifier is given. |
36 | 36 | * |
37 | 37 | * @param string $_identifier |
38 | + * @return void |
|
38 | 39 | */ |
39 | 40 | public function __construct( $_identifier='' ); |
40 | 41 | |
@@ -50,6 +51,7 @@ discard block |
||
50 | 51 | * |
51 | 52 | * @param string $_attribute_name |
52 | 53 | * @param data $data |
54 | + * @return void |
|
53 | 55 | */ |
54 | 56 | public function __set($_attribute_name, $data); |
55 | 57 | |
@@ -126,6 +128,7 @@ discard block |
||
126 | 128 | /** |
127 | 129 | * destructor |
128 | 130 | * |
131 | + * @return void |
|
129 | 132 | */ |
130 | 133 | public function __destruct(); |
131 | 134 |
@@ -107,7 +107,7 @@ |
||
107 | 107 | * and automatic conversions. In most cases they are named <appname>_egw_record, |
108 | 108 | * but projectmanager is an exception to this. |
109 | 109 | * |
110 | - * @return string; |
|
110 | + * @return string |
|
111 | 111 | */ |
112 | 112 | public static function get_egw_record_class(); |
113 | 113 | } // end of iface_export_plugin |