PullManager::subscribeOnItemUpdate

  1. Bitrix24 API (v. 23.675.0)
  2. crm
  3. PullManager
  4. subscribeOnItemUpdate
  • Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/integration/pullmanager.php
  • Класс: Bitrix\Crm\Integration\PullManager
  • Вызов: PullManager::subscribeOnItemUpdate
public function subscribeOnItemUpdate(int $entityTypeId, int $itemId): ?string
{
	$eventName = static::getItemEventName(
		static::EVENT_ITEM_UPDATED,
		\CCrmOwnerType::ResolveName($entityTypeId),
		$itemId
	);

	if ($eventName)
	{
		return $this->subscribeOnEvent($eventName);
	}

	return null;
}

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