mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-24 00:43:20 +01:00
Add warnings
This commit is contained in:
parent
7609e413bd
commit
2ac6626cdd
@ -86,6 +86,11 @@ class calendar_import_csv implements importexport_iface_import_plugin {
|
|||||||
*/
|
*/
|
||||||
private $user = null;
|
private $user = null;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* List of import warnings
|
||||||
|
*/
|
||||||
|
protected $warnings = array();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* List of import errors
|
* List of import errors
|
||||||
*/
|
*/
|
||||||
@ -363,6 +368,18 @@ class calendar_import_csv implements importexport_iface_import_plugin {
|
|||||||
// lets do it!
|
// lets do it!
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns warnings that were encountered during importing
|
||||||
|
* Maximum of one warning message per record, but you can append if you need to
|
||||||
|
*
|
||||||
|
* @return Array (
|
||||||
|
* record_# => warning message
|
||||||
|
* )
|
||||||
|
*/
|
||||||
|
public function get_warnings() {
|
||||||
|
return $this->warnings;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns errors that were encountered during importing
|
* Returns errors that were encountered during importing
|
||||||
* Maximum of one error message per record, but you can append if you need to
|
* Maximum of one error message per record, but you can append if you need to
|
||||||
|
@ -83,6 +83,11 @@ class calendar_import_ical implements importexport_iface_import_plugin {
|
|||||||
*/
|
*/
|
||||||
private $user = null;
|
private $user = null;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* List of import warnings
|
||||||
|
*/
|
||||||
|
protected $warnings = array();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* List of import errors
|
* List of import errors
|
||||||
*/
|
*/
|
||||||
@ -185,6 +190,18 @@ class calendar_import_ical implements importexport_iface_import_plugin {
|
|||||||
// lets do it!
|
// lets do it!
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns warnings that were encountered during importing
|
||||||
|
* Maximum of one warning message per record, but you can append if you need to
|
||||||
|
*
|
||||||
|
* @return Array (
|
||||||
|
* record_# => warning message
|
||||||
|
* )
|
||||||
|
*/
|
||||||
|
public function get_warnings() {
|
||||||
|
return $this->warnings;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns errors that were encountered during importing
|
* Returns errors that were encountered during importing
|
||||||
* Maximum of one error message per record, but you can append if you need to
|
* Maximum of one error message per record, but you can append if you need to
|
||||||
|
Loading…
Reference in New Issue
Block a user