Метод listSiteButtons
Сигнатура метода
public function listSiteButtons(int $userId, int $formId, WebFormSort $sort, int $limit, int $offset): array
Возвращает:
array
Описание
Returns a page of the site widgets of the portal projected against one CRM form, together with the preview link of every widget of the page. The right to read site widgets is a permission of its own and is asked for before the portal restriction, unlike legacy: what a user may not do at all is settled before what the portal demands of a particular form.
Параметры
5| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$userId
|
int
|
—
|
—
|
$formId
|
int
|
—
|
—
|
$sort
|
WebFormSort
|
—
|
—
|
$limit
|
int
|
—
|
—
|
$offset
|
int
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulescrm/lib/V2/Internal/Service/WebForm/EmbeddingReader.php
Расположение метода в файле
Строки
205–233