CoolCMS API

BlacklistType : int
in package

Type of a blacklist item (`cms_system_blacklists.type_id`, smallint). The entity keeps `typeId` as int; this enum is the source of truth for the allowed values and their labels.

Table of Contents

Cases

EMAIL  = 2
IP  = 1
PHONE  = 3

Methods

optionKeys()  : array<int, string>
Mapping `value => translation sub-key` for select / renderer options.
translationKey()  : string
Translation sub-key (e.g. `…types.ip`).

Cases

Methods

optionKeys()

Mapping `value => translation sub-key` for select / renderer options.

public static optionKeys() : array<int, string>
Return values
array<int, string>

translationKey()

Translation sub-key (e.g. `…types.ip`).

public translationKey() : string
Return values
string
On this page

Search results