Bitrix API

Contact

Table of Contents

Methods

buildPreview()  : string
Returns HTML code for preview of the contact entity.
checkUserReadAccess()  : bool
Checks for current user's read access to the contact.

Methods

buildPreview()

Returns HTML code for preview of the contact entity.

public static buildPreview(array<string|int, mixed> $parameters) : string
Parameters
$parameters : array<string|int, mixed>

Parameters that will be passed to the component.

Return values
string

HTML code of the preview.

checkUserReadAccess()

Checks for current user's read access to the contact.

public static checkUserReadAccess(array<string|int, mixed> $parameters) : bool
Parameters
$parameters : array<string|int, mixed>

Allowed key: contactId.

Return values
bool

True if current user has access to the contact.


        
On this page

Search results