ExportConsent
in package
Uses
UtilsProvider
Handle export consent data.
Table of Contents
Constants
- CSV_DELIMITER = "\t"
- EXPORT_CONSENT_OUTPUT_FILENAME = 'export-consents.csv'
Methods
- convertToUTF8Charset() : mixed
- Convert string to UTF8 charset.
- downloadCsv() : mixed
- Export consents by given criteria.
- getPluginConstantPrefix() : string
- Get the prefix of this plugin so composer packages can dynamically build other constant values on it.
- instance() : mixed
- Get singleton instance.
- __construct() : mixed
- C'tor.
Constants
CSV_DELIMITER
public
mixed
CSV_DELIMITER
= "\t"
EXPORT_CONSENT_OUTPUT_FILENAME
public
mixed
EXPORT_CONSENT_OUTPUT_FILENAME
= 'export-consents.csv'
Methods
convertToUTF8Charset()
Convert string to UTF8 charset.
public
convertToUTF8Charset(string $string) : mixed
Parameters
- $string : string
Tags
downloadCsv()
Export consents by given criteria.
public
downloadCsv(string $uuid, string $from, string $to) : mixed
Parameters
- $uuid : string
- $from : string
- $to : string
getPluginConstantPrefix()
Get the prefix of this plugin so composer packages can dynamically build other constant values on it.
public
getPluginConstantPrefix() : string
Tags
Return values
stringinstance()
Get singleton instance.
public
static instance() : mixed
Tags
__construct()
C'tor.
private
__construct() : mixed