CategoryMarketing
extends Category
in package
Class CategoryMarketing
Table of Contents
- CATEGORY_NAME = 'Marketing'
- ID = 4
- TRANSLATION_KEY_DESC = 'label_cpc_category_04_desc'
- TRANSLATION_KEY_TEXT = 'label_cpc_category_04_text'
- $description : string
- $id : int
- $locked : bool
- $name : string
- $storage : CookieConsentPanelStorage
- $value : bool
- create() : CategoryInterface
- description() : string
- id() : int
- jsonSerialize() : mixed
- locked() : bool
- name() : string
- value() : bool
- __construct() : mixed
- Category constructor.
- storage() : CookieConsentPanelStorage
- translatedName() : string
Constants
CATEGORY_NAME
public
mixed
CATEGORY_NAME
= 'Marketing'
ID
public
mixed
ID
= 4
TRANSLATION_KEY_DESC
protected
mixed
TRANSLATION_KEY_DESC
= 'label_cpc_category_04_desc'
TRANSLATION_KEY_TEXT
protected
mixed
TRANSLATION_KEY_TEXT
= 'label_cpc_category_04_text'
Properties
$description
protected
string
$description
$id
protected
int
$id
$locked
protected
bool
$locked
$name
protected
string
$name
$storage
protected
static CookieConsentPanelStorage
$storage
$value
protected
bool
$value
Methods
create()
public
static create(LanguageCode $code) : CategoryInterface
Parameters
- $code : LanguageCode
Tags
Return values
CategoryInterface —description()
public
description() : string
Return values
string —id()
public
id() : int
Tags
Return values
int —jsonSerialize()
public
jsonSerialize() : mixed
Tags
Return values
mixed —locked()
public
locked() : bool
Return values
bool —name()
public
name() : string
Tags
Return values
string —value()
public
value() : bool
Return values
bool —__construct()
Category constructor.
protected
__construct(int $id, string $name[, string $description = '' ][, bool $value = false ][, bool $locked = false ]) : mixed
Parameters
- $id : int
- $name : string
- $description : string = ''
- $value : bool = false
- $locked : bool = false
Return values
mixed —storage()
protected
static storage() : CookieConsentPanelStorage
Return values
CookieConsentPanelStorage —translatedName()
protected
static translatedName(string $key, LanguageCode $code) : string
Parameters
- $key : string
- $code : LanguageCode