TABLE_NAME
TABLE_NAME ='consent'
Handle consents of users.
CLICKABLE_BUTTONS =array('none', 'main_all', 'main_essential', 'main_close_icon', 'main_custom', 'ind_all', 'ind_essential', 'ind_close_icon', 'ind_custom', \DevOwl\RealCookieBanner\view\shortcode\LinkShortcode::BUTTON_CLICKED_IDENTIFIER, \DevOwl\RealCookieBanner\view\Blocker::BUTTON_CLICKED_IDENTIFIER)
$me :\DevOwl\RealCookieBanner\UserConsent
Singleton instance.
applyCustomDecisionFromPreviousConsent(array|string $previousConsent,array|string $newConsent,string $overtake)
Apply a custom decision (e.g. opt-out a single cookie in a cookie group) to a new consent. This is e.g. helpful if you are providing a Custom Bypass (e.g. Geolocation) and want to overtake an opt-out / opt-in from the previous consent.
array|string | $previousConsent | |
array|string | $newConsent | |
string | $overtake | Can be |
castReadRows(array<mixed,object> $results,boolean $jsonDecode = true)
Cast read rows from database to correct types.
array<mixed,object> | $results | |
boolean | $jsonDecode | Pass |