Provider::updateEntities

  1. Bitrix24 API (v. 23.675.0)
  2. crm
  3. Provider
  4. updateEntities
  • Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/integration/catalog/contractor/provider.php
  • Класс: Bitrix\Crm\Integration\Catalog\Contractor\Provider
  • Вызов: Provider::updateEntities
static function updateEntities(array $updatedEntities): void
{
	foreach ($updatedEntities as $entityTypeId => $entityData)
	{
		foreach ($entityData as $entityId => $entityInfo)
		{
			BaseComponent::updateEntity(
				$entityTypeId,
				$entityId,
				$entityInfo,
				[
					'userPermissions' => self::getPermissions(),
					'startWorkFlows' => true,
				]
			);
		}
	}
}

Добавить комментарий