EntitiesChangesCollection::significantlyChangedEntitiesForEntityResponsible

  1. Bitrix24 API (v. 23.675.0)
  2. crm
  3. EntitiesChangesCollection
  4. significantlyChangedEntitiesForEntityResponsible
  • Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/counter/monitor/entitieschangescollection.php
  • Класс: Bitrix\Crm\Counter\Monitor\EntitiesChangesCollection
  • Вызов: EntitiesChangesCollection::significantlyChangedEntitiesForEntityResponsible
public function significantlyChangedEntitiesForEntityResponsible(): self
{
	$result = new self();
	/** @var $entityChange EntityChange */
	foreach ($this->values as $entityChange)
	{
		if (
			$entityChange->wasEntityAddedOrDeleted()
			|| $entityChange->isAssignedByChanged()
			|| $entityChange->isStageSemanticIdChanged()
			|| $entityChange->isCategoryIdChanged()
		)
		{
			$result->add($entityChange);
		}
	}

	return $result;
}

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