• Модуль: iblock
  • Путь к файлу: ~/bitrix/modules/iblock/lib/component/selector/element.php
  • Класс: BitrixIblockComponentSelectorElement
  • Вызов: Element::getElementFieldsDescription
protected function getElementFieldsDescription()
{
	$result = [];

	$result['ACTIVE_FROM'] = [
		'id' => 'ACTIVE_FROM',
		'name' => Loc::getMessage('IBLOCK_SELECTOR_ELEMENT_GRID_COLUMN_ACTIVE_FROM'),
		'sort' => 'ACTIVE_FROM',
		'default' => false
	];
	$result['ACTIVE_TO'] = [
		'id' => 'ACTIVE_TO',
		'name' => Loc::getMessage('IBLOCK_SELECTOR_ELEMENT_GRID_COLUMN_ACTIVE_TO'),
		'sort' => 'ACTIVE_TO',
		'default' => false
	];

	if (
		$this->catalogIncluded
		&& (string)$this->getStorageItem(self::STORAGE_ENTITY_IBLOCK, 'CATALOG_TYPE') !== ''
	)
	{
		$result['TYPE'] = [
			'id' => 'TYPE',
			'name' => Loc::getMessage('IBLOCK_SELECTOR_ELEMENT_GRID_COLUMN_TYPE'),
			'sort' => 'TYPE',
			'default' => false
		];
		$result['AVAILABLE'] = [
			'id' => 'AVAILABLE',
			'name' => Loc::getMessage('IBLOCK_SELECTOR_ELEMENT_GRID_COLUMN_AVAILABLE'),
			'sort' => 'AVAILABLE',
			'default' => false
		];
	}

	return $result;
}