• Модуль: sale
  • Путь к файлу: ~/bitrix/modules/sale/lib/tradingplatform/vk/sectionslist.php
  • Класс: BitrixSaleTradingPlatformVkSectionsList
  • Вызов: SectionsList::getMultiSectionsToProduct
public function getMultiSectionsToProduct($pdoructsIds)
{
	$sections = SectionElementTable::getList(array(
		"filter" => array(
			"IBLOCK_ELEMENT_ID" => $pdoructsIds,
			"ADDITIONAL_PROPERTY_ID" => null,
		),
	));

	$result = array();
	while ($section = $sections->fetch())
	{
		$result[$section["IBLOCK_ELEMENT_ID"]][] = $section["IBLOCK_SECTION_ID"];
	}

	return $result;
}