Documentation

date

array public static
\Bitrix\Main\UI\Filter\Field::date(
 string $name,
 string $type = \Bitrix\Main\UI\Filter\DateType::NONE,
 array $values = array(),
 string $label = "",
 string $placeholder = "",
 boolean $enableTime = false,
 array $exclude = array()
);

Static method processes date field data and returns complete array.

Parameters

ParameterDescriptionVersion
$nameName
$typeType
$valuesArray with values
$labelTitle
$placeholderPlaceholder
$enableTimeLogic parameter enabling time.
$excludeArray with exclusions

Example



© «Bitrix24», 2001-2024
Up