Bitrix API

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
bool

getDefaultAgreementId()

Get default agreement id.

public static getDefaultAgreementId() : int|null
Return values
int|null

getRequisites()

Get requisites.

public static getRequisites() : array<string|int, mixed>|null
Return values
array<string|int, mixed>|null

install()

Install default agreement.

public static install() : bool
Return values
bool

notify()

Notify.

public static notify() : bool
Return values
bool

onDataProviderList()

Event `main/OnUserConsentDataProviderList` handler.

public static onDataProviderList() : EventResult
Return values
EventResult

onProviderList()

Event `main/OnUserConsentProviderList` handler.

public static onProviderList() : EventResult
Return values
EventResult

        
On this page

Search results