- Модуль: iblock
- Путь к файлу: ~/bitrix/modules/iblock/lib/component/selector/element.php
- Класс: BitrixIblockComponentSelectorElement
- Вызов: Element::getElementFieldsFilterDefinition
protected function getElementFieldsFilterDefinition()
{
$result = [];
$result['ACTIVE_FROM'] = [
'id' => 'ACTIVE_FROM',
'name' => Loc::getMessage('IBLOCK_SELECTOR_ELEMENT_GRID_COLUMN_ACTIVE_FROM'),
'type' => 'date',
'operators' => [
'default' => '=',
'range' => '><'
]
];
$result['ACTIVE_TO'] = [
'id' => 'ACTIVE_TO',
'name' => Loc::getMessage('IBLOCK_SELECTOR_ELEMENT_GRID_COLUMN_ACTIVE_TO'),
'type' => 'date',
'operators' => [
'default' => '=',
'range' => '><'
]
];
return $result;
}