Bitrix API

EntitySelectorFieldAdapter

Table of Contents

Methods

__construct()  : mixed
getLabel()  : string
Get label (title) of entity selected in filter
getLabels()  : array<string|int, mixed>
Get labels (titles) of entities selected in filter

Methods

__construct()

public __construct([array<string|int, mixed> $fieldOptions = [] ]) : mixed
Parameters
$fieldOptions : array<string|int, mixed> = []

getLabel()

Get label (title) of entity selected in filter

public getLabel(string $value) : string
Parameters
$value : string

Entity id or JSON with entity type id and entity id

Return values
string

getLabels()

Get labels (titles) of entities selected in filter

public getLabels(array<string|int, mixed> $values) : array<string|int, mixed>
Parameters
$values : array<string|int, mixed>

Array of entity ids or array of JSON with entity type id and entity id

Tags
throws
LoaderException
Return values
array<string|int, mixed>

        
On this page

Search results