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

	if (!$this->catalogIncluded)
		return;

	$iblockId = (int)$this->getStorageItem(self::STORAGE_ENTITY_IBLOCK, 'OFFERS_IBLOCK_ID');
	$skuPropertyId = (int)$this->getStorageItem(self::STORAGE_ENTITY_IBLOCK, 'SKU_PROPERTY_ID');

	if ($iblockId > 0 && $skuPropertyId > 0)
	{
		$this->offerProperties = $this->loadPropertiesDescription([
			'=IBLOCK_ID' => $iblockId, '!=ID' => $skuPropertyId, '=ACTIVE' => 'Y'
		]);
	}
	unset($skuPropertyId, $iblockId);
}