Export
in package
Uses
UtilsProvider
Handle export data.
Table of Contents
Constants
- EXPORT_POST_STATI = ['publish', 'private', 'draft']
- RELEVANT_BANNER_LINK_POST_KEYS = ['ID', 'post_name', 'post_title', 'metas']
- RELEVANT_BLOCKER_POST_KEYS = ['ID', 'post_name', 'post_content', 'post_status', 'post_title', 'metas']
- RELEVANT_COOKIE_POST_KEYS = ['ID', 'post_name', 'post_content', 'post_status', 'post_title', 'metas']
- RELEVANT_GROUP_TERM_KEYS = ['term_id', 'slug', 'name', 'description']
- RELEVANT_TCF_VENDOR_CONFIGURATION_POST_KEYS = ['ID', 'post_name', 'post_status', 'post_title', 'metas']
Properties
- $data : mixed
Methods
- appendBannerLinks() : mixed
- Append content blocker to the output of the export.
- appendBlocker() : mixed
- Append content blocker to the output of the export.
- appendCookieGroups() : mixed
- Append cookie groups to the output of the export.
- appendCookies() : mixed
- Append cookies to the output of the export.
- appendCustomizeBanner() : mixed
- Append customize banner options to the output of the export.
- appendSettings() : mixed
- Append settings to the output of the export.
- appendTcfVendorConfigurations() : mixed
- Append TCF vendor configurations (if available) to the output of the export.
- finish() : array<string|int, mixed>
- Get the exported data as array.
- getPluginConstantPrefix() : string
- Get the prefix of this plugin so composer packages can dynamically build other constant values on it.
- instance() : mixed
- Get singleton instance.
- getExportBannerLinks() : mixed
- Get banner links for export.
- getExportBlocker() : mixed
- Get blocker for export.
- getExportCookies() : mixed
- Get cookies for export.
- getExportGroups() : mixed
- Get groups for export.
- getTcfVendorConfigurations() : mixed
- Get TCF vendor configurations for export.
- __construct() : mixed
- C'tor.
Constants
EXPORT_POST_STATI
public
mixed
EXPORT_POST_STATI
= ['publish', 'private', 'draft']
RELEVANT_BANNER_LINK_POST_KEYS
public
mixed
RELEVANT_BANNER_LINK_POST_KEYS
= ['ID', 'post_name', 'post_title', 'metas']
RELEVANT_BLOCKER_POST_KEYS
public
mixed
RELEVANT_BLOCKER_POST_KEYS
= ['ID', 'post_name', 'post_content', 'post_status', 'post_title', 'metas']
RELEVANT_COOKIE_POST_KEYS
public
mixed
RELEVANT_COOKIE_POST_KEYS
= ['ID', 'post_name', 'post_content', 'post_status', 'post_title', 'metas']
RELEVANT_GROUP_TERM_KEYS
public
mixed
RELEVANT_GROUP_TERM_KEYS
= ['term_id', 'slug', 'name', 'description']
RELEVANT_TCF_VENDOR_CONFIGURATION_POST_KEYS
public
mixed
RELEVANT_TCF_VENDOR_CONFIGURATION_POST_KEYS
= ['ID', 'post_name', 'post_status', 'post_title', 'metas']
Properties
$data
private
mixed
$data
= []
Methods
appendBannerLinks()
Append content blocker to the output of the export.
public
appendBannerLinks() : mixed
appendBlocker()
Append content blocker to the output of the export.
public
appendBlocker() : mixed
appendCookieGroups()
Append cookie groups to the output of the export.
public
appendCookieGroups() : mixed
appendCookies()
Append cookies to the output of the export.
public
appendCookies() : mixed
appendCustomizeBanner()
Append customize banner options to the output of the export.
public
appendCustomizeBanner() : mixed
appendSettings()
Append settings to the output of the export.
public
appendSettings() : mixed
appendTcfVendorConfigurations()
Append TCF vendor configurations (if available) to the output of the export.
public
appendTcfVendorConfigurations() : mixed
finish()
Get the exported data as array.
public
finish() : array<string|int, mixed>
Return values
array<string|int, mixed>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
getExportBannerLinks()
Get banner links for export.
protected
getExportBannerLinks() : mixed
getExportBlocker()
Get blocker for export.
protected
getExportBlocker() : mixed
getExportCookies()
Get cookies for export.
protected
getExportCookies(array<string|int, mixed> $groups) : mixed
Parameters
- $groups : array<string|int, mixed>
-
Result of getExportGroups()
getExportGroups()
Get groups for export.
protected
getExportGroups() : mixed
getTcfVendorConfigurations()
Get TCF vendor configurations for export.
protected
getTcfVendorConfigurations() : mixed
__construct()
C'tor.
private
__construct() : mixed