Метод renderAccessibleChip
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
строки
157–203
~/bitrix/modulestasks/lib/grid/task/row/content/userfield/crm.php
Исходный код
Сигнатура метода
private function renderAccessibleChip(int $typeId, int $id, string $type, string $value, string $title, array $activeSlugs): string
Возвращает:
string
Описание
Chip for an element the current user can read: the element name is plain text, hovering the chip shows the CRM mini-card, and the chip body toggles this element in the CRM_ITEM filter (click or Enter/Space on the focusable chip). A keyboard-focusable remove button (shown only while the chip is the active filter) removes it. The filter value mirrors the entity-selector field value so a chip added by click and a chip picked in the filter dialog remove symmetrically.
Параметры
6| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$typeId
|
int
|
-
|
-
|
$id
|
int
|
-
|
-
|
$type
|
string
|
-
|
-
|
$value
|
string
|
-
|
-
|
$title
|
string
|
-
|
-
|
$activeSlugs
|
array
|
-
|
-
|