• Модуль: calendar
  • Путь к файлу: ~/bitrix/modules/calendar/lib/sync/entities/syncsectionmap.php
  • Класс: BitrixCalendarSyncEntitiesSyncSectionMap
  • Вызов: SyncSectionMap::getSuccessSyncSection
public function getSuccessSyncSection(): SyncSectionMap
{
	return new self(array_filter($this->collection, function ($syncSection) {
		/** @var SyncSection $syncSection */
		return $syncSection->getAction() === Dictionary::SYNC_SECTION_ACTION['success'];
	}));
}