• Модуль: sale
  • Путь к файлу: ~/bitrix/modules/sale/lib/tradingplatform/vk/sectionslist.php
  • Класс: BitrixSaleTradingPlatformVkSectionsList
  • Вызов: SectionsList::__construct
public function __construct($exportId)
{
	$this->exportId = intval($exportId);

//		save mapped sections in cache
	$cacheManager = Application::getInstance()->getManagedCache();
	if ($cacheManager->read(self::CACHE_TTL, $this->createCacheIdMappedSections()))
	{
		$mappedSections = $cacheManager->get($this->createCacheIdMappedSections());
	}
	else
	{
		$mappedSections = Map::getMappedSections($exportId);
		$cacheManager->set($this->createCacheIdMappedSections(), $mappedSections);
	}
	$this->mappedSections = $mappedSections;

	if (!Loader::includeModule('iblock'))
	{
		throw new SystemException("Can't include module "IBlock"! " . __METHOD__);
	}
}