UserConsent
Table of Contents
Constants
- DATA_PROVIDER_CODE = 'crm/requisites'
- PROVIDER_CODE = 'crm/activity'
Methods
- applyDefaultAgreement() : bool
- Notify.
- getDefaultAgreementId() : int|null
- Get default agreement id.
- getRequisites() : array<string|int, mixed>|null
- Get requisites.
- install() : bool
- Install default agreement.
- notify() : bool
- Notify.
- onDataProviderList() : EventResult
- Event `main/OnUserConsentDataProviderList` handler.
- onProviderList() : EventResult
- Event `main/OnUserConsentProviderList` handler.
Constants
DATA_PROVIDER_CODE
public
mixed
DATA_PROVIDER_CODE
= 'crm/requisites'
PROVIDER_CODE
public
mixed
PROVIDER_CODE
= 'crm/activity'
Methods
applyDefaultAgreement()
Notify.
public
static applyDefaultAgreement() : bool
Return values
boolgetDefaultAgreementId()
Get default agreement id.
public
static getDefaultAgreementId() : int|null
Return values
int|nullgetRequisites()
Get requisites.
public
static getRequisites() : array<string|int, mixed>|null
Return values
array<string|int, mixed>|nullinstall()
Install default agreement.
public
static install() : bool
Return values
boolnotify()
Notify.
public
static notify() : bool
Return values
boolonDataProviderList()
Event `main/OnUserConsentDataProviderList` handler.
public
static onDataProviderList() : EventResult
Return values
EventResultonProviderList()
Event `main/OnUserConsentProviderList` handler.
public
static onProviderList() : EventResult