forked from extern/egroupware
Add mimetype to export plugins
This commit is contained in:
parent
e646cc4f8e
commit
a104512988
@ -71,6 +71,10 @@ class timesheet_export_csv implements importexport_iface_export_plugin {
|
|||||||
return 'csv';
|
return 'csv';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static function get_mimetype() {
|
||||||
|
return 'text/csv';
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* return html for options.
|
* return html for options.
|
||||||
* this way the plugin has all opportunities for options tab
|
* this way the plugin has all opportunities for options tab
|
||||||
|
@ -178,6 +178,10 @@ class timesheet_export_openoffice implements importexport_iface_export_plugin {
|
|||||||
return 'ods';
|
return 'ods';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static function get_mimetype() {
|
||||||
|
return 'application/vnd.oasis.opendocument.spreadsheet';
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* return html for options.
|
* return html for options.
|
||||||
* this way the plugin has all opertunities for options tab
|
* this way the plugin has all opertunities for options tab
|
||||||
|
Loading…
Reference in New Issue
Block a user