Метод getList

public

Сигнатура метода

public function getList(DictionaryType $type, int $userId, ?DictionaryFilter $filter = null, ?DictionarySort $sort = null, ?PagerInterface $pager = null): Result

Возвращает: Result

Описание

The values of the dictionary $type the filter selects, read as $userId, in the order $sort asks for and cut to the page $pager asks for. Nothing asked for means the whole dictionary in the order it is kept in. A page limit of its own this domain has none: the limit is the platform one and belongs to the transport.

Параметры

5
Имя Тип По умолчанию Флаги
$type DictionaryType —
—
$userId int —
—
$filter ?DictionaryFilter null
—
$sort ?DictionarySort null
—
$pager ?PagerInterface null
—

Расположение

Исходный файл метода в Bitrix Framework

Путь к исходному файлу Source
~/bitrix/modulescrm/lib/V2/Internal/Service/Dictionary/DictionaryValueService.php
Расположение метода в файле
Строки 130–146

Исходный код

PHP