Метод getList
Сигнатура метода
public function getList(DictionaryType $type, ?DictionaryFilter $filter = null, ?DictionarySort $sort = null, ?PagerInterface $pager = null): array
Возвращает:
array
Описание
The values of the dictionary $type the filter selects, in the order $sort asks for and cut to the page $pager asks for. The order is unambiguous even where the ordered field is not: the internal record key is appended to it as the last key, so two values sharing a `sort` keep their relative places between one page and the next. A caller cannot name that key and does not have to. Nothing asked for means: every value of the dictionary, in the order the dictionary itself is kept in, in one page as big as the dictionary. A page limit of its own this boundary has none - the limit belongs to the transport above it.
Параметры
4| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$type
|
DictionaryType
|
—
|
—
|
$filter
|
?DictionaryFilter
|
null
|
—
|
$sort
|
?DictionarySort
|
null
|
—
|
$pager
|
?PagerInterface
|
null
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
~/bitrix/modulescrm/lib/V2/Internal/Repository/Dictionary/DictionaryValueRepositoryInterface.php