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

	$iblockId = (int)$this->getStorageItem(self::STORAGE_ENTITY_IBLOCK, 'IBLOCK_ID');
	if ($iblockId > 0)
	{
		$this->loadElementPropertiesDescription();
		if (!empty($this->elementProperties))
		{
			$result = [];
			foreach ($this->elementProperties as $id => $row)
			{
				$result[$id] = [
					'id' => $id,
					'name' => $row['NAME'],
					'sort' => ($row['MULTIPLE'] == 'N'),
					'default' => false
				];
			}
		}
	}

	return $result;
}