• Модуль: catalog
  • Путь к файлу: ~/bitrix/modules/catalog/lib/v2/Iblock/IblockInfo.php
  • Класс: BitrixCatalogv2IblockIblockInfo
  • Вызов: IblockInfo::__construct
public function __construct(int $iblockId)
{
	$iblockInfo = CCatalogSku::GetInfoByIBlock($iblockId);

	if (!$iblockInfo || !is_array($iblockInfo))
	{
		throw new ObjectNotFoundException("Can not find catalog iblock {{$iblockId}}.");
	}

	$this->iblock = new Dictionary($iblockInfo);
}