• Модуль: iblock
  • Путь к файлу: ~/bitrix/modules/iblock/lib/propertyindex/indexer.php
  • Класс: BitrixIblockPropertyIndexIndexer
  • Вызов: Indexer::init
public function init()
{
	$this->dictionary = new Dictionary($this->iblockId);
	$this->storage = new Storage($this->iblockId);
	if (self::$catalog === null)
	{
		self::$catalog = BitrixMainLoader::includeModule("catalog");
	}

	if (self::$catalog)
	{
		$catalog = CCatalogSKU::getInfoByProductIBlock($this->iblockId);
		if (!empty($catalog) && is_array($catalog))
		{
			$this->skuIblockId = $catalog["IBLOCK_ID"];
			$this->skuPropertyId = $catalog["SKU_PROPERTY_ID"];
		}
	}
}