• Модуль: iblock
  • Путь к файлу: ~/bitrix/modules/iblock/lib/sectiontable.php
  • Класс: BitrixIblockSectionTable
  • Вызов: SectionTable::onAfterUpdate
static function onAfterUpdate(Event $event)
{
	/** @var EO_Section $section */
	$section = $event->getParameter('object');
	$section->fill(['IBLOCK_ID', 'IBLOCK_SECTION_ID', 'NAME', 'SORT', 'ACTIVE']);

	// clear tag cache
	CIBlock::clearIblockTagCache($section->getIblockId());

	// recount tree
	CIBlockSection::recountTreeAfterUpdate($section->collectValues(), $section->customData->get('RECOUNT_TREE_OLD_VALUES'));
}