1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс Consent

Открытые статические члены

static isUnsub (string $status, ?int $requests, ?string $code)
static checkIfConsentRequestLimitExceeded (int $requests, string $code)
static encodeTag (array $fields)
static decodeTag (string $tag)

Подробное описание

См. определение в файле consent.php строка 15

Методы

◆ checkIfConsentRequestLimitExceeded()

checkIfConsentRequestLimitExceeded ( int $requests,
string $code )
static

check is consent request num is beyond the maximum

Аргументы
int$requests
string$code
Возвращает
bool
Исключения

Bitrix\Main\ArgumentException

См. определение в файле consent.php строка 68

◆ decodeTag()

decodeTag ( string $tag)
static

return unsigned tag

Аргументы
string$tag
Возвращает
mixed
Исключения

Bitrix\Main\ArgumentException

Исключения

Bitrix\Main\Security\Sign\BadSignatureException

См. определение в файле consent.php строка 100

◆ encodeTag()

encodeTag ( array $fields)
static

sign $fields with contact parameters

Аргументы
array$fields
Возвращает
string
Исключения
ArgumentNullException

Bitrix\Main\ArgumentException

См. определение в файле consent.php строка 81

◆ isUnsub()

isUnsub ( string $status,
?int $requests,
?string $code )
static

check if status equal 'deny' or consent request num is beyond the maximum

Аргументы
string$statusconsent status
int | null$requestsint consent requests num
string | null$code
Возвращает
bool
Исключения
ArgumentNullException

Bitrix\Main\ArgumentException

Исключения

Bitrix\Main\ArgumentOutOfRangeException

См. определение в файле consent.php строка 48


Объявления и описания членов класса находятся в файле: