• Модуль: sale
  • Путь к файлу: ~/bitrix/modules/sale/lib/tradingplatform/vk/sectionslist.php
  • Класс: BitrixSaleTradingPlatformVkSectionsList
  • Вызов: SectionsList::getMappedIblocks
public function getMappedIblocks()
{
//		todo: maybe need cache too?
//		get iblocks if they not set yet
	if (empty($this->iblocksIds))
	{
		foreach ($this->mappedSections as $mappedSection)
		{
			$id = $mappedSection["PARAMS"]["IBLOCK"];
			$this->iblocksIds[$id] = $id;
		}
	}

	return $this->iblocksIds;
}