Reset
in package
Uses
UtilsProvider
Allows to reset all data of RCB including cookies, options, and cookie groups.
Table of Contents
Properties
Methods
- all() : mixed
- Clear all data.
- getInstance() : Reset
- Get singleton instance.
- getPluginConstantPrefix() : string
- Get the prefix of this plugin so composer packages can dynamically build other constant values on it.
- __construct() : mixed
- C'tor.
Properties
$me
Singleton instance.
private
static Reset
$me
= null
Methods
all()
Clear all data.
public
all([bool $purgeConsents = false ]) : mixed
Parameters
- $purgeConsents : bool = false
getInstance()
Get singleton instance.
public
static getInstance() : Reset
Tags
Return values
ResetgetPluginConstantPrefix()
Get the prefix of this plugin so composer packages can dynamically build other constant values on it.
public
getPluginConstantPrefix() : string
Tags
Return values
string__construct()
C'tor.
private
__construct() : mixed