Documentation

Decision
in package
Uses UtilsProvider

Content decision options.

Table of Contents

Constants

BUTTON_ORDER_PERMUTATIONS  = [['all', 'essential', 'individual', 'save'], ['all', 'essential', 'save', 'individual'], ['all', 'individual', 'essential', 'save'], ['all', 'individual', 'save', 'essential'], ['all', 'save', 'essential', 'individual'], ['all', 'save', 'individual', 'essential'], ['essential', 'all', 'individual', 'save'], ['essential', 'all', 'save', 'individual'], ['essential', 'individual', 'all', 'save'], ['essential', 'individual', 'save', 'all'], ['essential', 'save', 'all', 'individual'], ['essential', 'save', 'individual', 'all'], ['individual', 'all', 'essential', 'save'], ['individual', 'all', 'save', 'essential'], ['individual', 'essential', 'all', 'save'], ['individual', 'essential', 'save', 'all'], ['individual', 'save', 'all', 'essential'], ['individual', 'save', 'essential', 'all'], ['save', 'all', 'essential', 'individual'], ['save', 'all', 'individual', 'essential'], ['save', 'essential', 'all', 'individual'], ['save', 'essential', 'individual', 'all'], ['save', 'individual', 'all', 'essential'], ['save', 'individual', 'essential', 'all']]
Available permutations for the button order.
CUSTOM_HTML_BUTTON_TYPE_DIFFERS_NOTICE  = self::SECTION . '-custom-html-button-type-differs-notice'
CUSTOM_HTML_LEGAL_NOTICE_ALL  = self::SECTION . '-custom-html-legal-notice-all'
CUSTOM_HTML_LEGAL_NOTICE_ESSENTIALS  = self::SECTION . '-custom-html-legal-notice-essentials'
CUSTOM_HTML_LEGAL_NOTICE_INDIVIDUAL  = self::SECTION . '-custom-html-legal-notice-individual'
DEFAULT_ACCEPT_ALL  = 'button'
DEFAULT_ACCEPT_ESSENTIALS  = 'button'
DEFAULT_ACCEPT_INDIVIDUAL  = 'link'
DEFAULT_BUTTON_ORDER  = 'all,essential,save,individual'
DEFAULT_GROUPS_FIRST_VIEW  = false
DEFAULT_SAVE_BUTTON  = 'always'
DEFAULT_SHOW_CLOSE_ICON  = false
DEFAULT_SHOW_GROUPS  = false
HEADLINE_SERVICE_GROUPS  = self::SECTION . '-headline-service-groups'
SECTION  = \DevOwl\RealCookieBanner\view\BannerCustomize::PANEL_MAIN . '-decision'
SETTING  = RCB_OPT_PREFIX . '-banner-decision'
SETTING_ACCEPT_ALL  = self::SETTING . '-accept-all'
SETTING_ACCEPT_ESSENTIALS  = self::SETTING . '-accept-essentials'
SETTING_ACCEPT_INDIVIDUAL  = self::SETTING . '-accept-individual'
SETTING_BUTTON_ORDER  = self::SETTING . '-button-order'
SETTING_GROUPS_FIRST_VIEW  = self::SETTING . '-groups-first-view'
SETTING_SAVE_BUTTON  = self::SETTING . '-save-button'
SETTING_SHOW_CLOSE_ICON  = self::SETTING . '-show-close-icon'
SETTING_SHOW_GROUPS  = self::SETTING . '-show-groups'

Methods

args()  : mixed
Return arguments for this section.
getButtonOrderPermutations()  : mixed
Calculate button order permutations with translated select dropdown in an associative array.
getPluginConstantPrefix()  : string
Get the prefix of this plugin so composer packages can dynamically build other constant values on it.

Constants

BUTTON_ORDER_PERMUTATIONS

Available permutations for the button order.

public mixed BUTTON_ORDER_PERMUTATIONS = [['all', 'essential', 'individual', 'save'], ['all', 'essential', 'save', 'individual'], ['all', 'individual', 'essential', 'save'], ['all', 'individual', 'save', 'essential'], ['all', 'save', 'essential', 'individual'], ['all', 'save', 'individual', 'essential'], ['essential', 'all', 'individual', 'save'], ['essential', 'all', 'save', 'individual'], ['essential', 'individual', 'all', 'save'], ['essential', 'individual', 'save', 'all'], ['essential', 'save', 'all', 'individual'], ['essential', 'save', 'individual', 'all'], ['individual', 'all', 'essential', 'save'], ['individual', 'all', 'save', 'essential'], ['individual', 'essential', 'all', 'save'], ['individual', 'essential', 'save', 'all'], ['individual', 'save', 'all', 'essential'], ['individual', 'save', 'essential', 'all'], ['save', 'all', 'essential', 'individual'], ['save', 'all', 'individual', 'essential'], ['save', 'essential', 'all', 'individual'], ['save', 'essential', 'individual', 'all'], ['save', 'individual', 'all', 'essential'], ['save', 'individual', 'essential', 'all']]
Tags
see
https://phpsandbox.io/n/real-cookie-banner-button-order-premutation-9uk9m

CUSTOM_HTML_BUTTON_TYPE_DIFFERS_NOTICE

public mixed CUSTOM_HTML_BUTTON_TYPE_DIFFERS_NOTICE = self::SECTION . '-custom-html-button-type-differs-notice'
public mixed CUSTOM_HTML_LEGAL_NOTICE_ALL = self::SECTION . '-custom-html-legal-notice-all'
public mixed CUSTOM_HTML_LEGAL_NOTICE_ESSENTIALS = self::SECTION . '-custom-html-legal-notice-essentials'
public mixed CUSTOM_HTML_LEGAL_NOTICE_INDIVIDUAL = self::SECTION . '-custom-html-legal-notice-individual'

DEFAULT_ACCEPT_ALL

public mixed DEFAULT_ACCEPT_ALL = 'button'

DEFAULT_ACCEPT_ESSENTIALS

public mixed DEFAULT_ACCEPT_ESSENTIALS = 'button'

DEFAULT_ACCEPT_INDIVIDUAL

public mixed DEFAULT_ACCEPT_INDIVIDUAL = 'link'

DEFAULT_BUTTON_ORDER

public mixed DEFAULT_BUTTON_ORDER = 'all,essential,save,individual'

DEFAULT_GROUPS_FIRST_VIEW

public mixed DEFAULT_GROUPS_FIRST_VIEW = false

DEFAULT_SAVE_BUTTON

public mixed DEFAULT_SAVE_BUTTON = 'always'

DEFAULT_SHOW_CLOSE_ICON

public mixed DEFAULT_SHOW_CLOSE_ICON = false

DEFAULT_SHOW_GROUPS

public mixed DEFAULT_SHOW_GROUPS = false

HEADLINE_SERVICE_GROUPS

public mixed HEADLINE_SERVICE_GROUPS = self::SECTION . '-headline-service-groups'

SECTION

public mixed SECTION = \DevOwl\RealCookieBanner\view\BannerCustomize::PANEL_MAIN . '-decision'

SETTING

public mixed SETTING = RCB_OPT_PREFIX . '-banner-decision'

SETTING_ACCEPT_ALL

public mixed SETTING_ACCEPT_ALL = self::SETTING . '-accept-all'

SETTING_ACCEPT_ESSENTIALS

public mixed SETTING_ACCEPT_ESSENTIALS = self::SETTING . '-accept-essentials'

SETTING_ACCEPT_INDIVIDUAL

public mixed SETTING_ACCEPT_INDIVIDUAL = self::SETTING . '-accept-individual'

SETTING_BUTTON_ORDER

public mixed SETTING_BUTTON_ORDER = self::SETTING . '-button-order'

SETTING_GROUPS_FIRST_VIEW

public mixed SETTING_GROUPS_FIRST_VIEW = self::SETTING . '-groups-first-view'

SETTING_SAVE_BUTTON

public mixed SETTING_SAVE_BUTTON = self::SETTING . '-save-button'

SETTING_SHOW_CLOSE_ICON

public mixed SETTING_SHOW_CLOSE_ICON = self::SETTING . '-show-close-icon'

SETTING_SHOW_GROUPS

public mixed SETTING_SHOW_GROUPS = self::SETTING . '-show-groups'

Methods

args()

Return arguments for this section.

public args() : mixed

getButtonOrderPermutations()

Calculate button order permutations with translated select dropdown in an associative array.

public static getButtonOrderPermutations() : mixed

getPluginConstantPrefix()

Get the prefix of this plugin so composer packages can dynamically build other constant values on it.

public getPluginConstantPrefix() : string
Tags
codeCoverageIgnore

It only returns a string with the constant prefix

Return values
string

        
On this page

Search results