Documentation

select

array public static
\Bitrix\Main\UI\Filter\Field::select(
 string $name,
 array $items,
 array $defaultValue = array(),
 string $label = "",
 string $placeholder = ""
);

Static method processes select field data and returns complete array.

Parameters

ParameterDescriptionVersion
$nameName
$itemsArray with items
$defaultValueArray with default values
$labelTitle
$placeholderPlaceholder

Example



© «Bitrix24», 2001-2024
Up