• Модуль: iblock
  • Путь к файлу: ~/bitrix/modules/iblock/lib/copy/implement/children/section.php
  • Класс: BitrixIblockCopyImplementChildrenSection
  • Вызов: Section::addSections
private function addSections(CIBlockSection $sectionObject, array $sections): array
{
	$rationIds = [];
	foreach ($sections as $section)
	{
		unset($section["IBLOCK_SECTION_ID"]);
		$rationIds[$section["ID"]] = $this->addSection($sectionObject, $section);
	}

	return $rationIds;
}