• Модуль: sale
  • Путь к файлу: ~/bitrix/modules/sale/lib/rest/synchronization/loader/product.php
  • Класс: BitrixSaleRestSynchronizationLoaderProduct
  • Вызов: Product::getIBlockProduct
static function getIBlockProduct($iblockId)
{
	static $iblock_fields = null;

	if($iblock_fields[$iblockId] == null)
	{
		$r = CIBlock::GetList(array(), array("ID" => $iblockId));
		if ($ar = $r->Fetch())
			$iblock_fields[$iblockId] = $ar;
	}
	return $iblock_fields;
}