Bitrix API

Deal

Table of Contents

Methods

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

Methods

buildPreview()

Returns HTML code for preview of the deal 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 deal.

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

Allowed key: dealId.

Return values
bool

True if current user has access to the deal.


        
On this page

Search results