CAllCrmDeal::PullChange

  1. Bitrix24 API (v. 23.675.0)
  2. crm
  3. CAllCrmDeal
  4. PullChange
  • Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/classes/general/crm_deal.php
  • Класс: \CAllCrmDeal
  • Вызов: CAllCrmDeal::PullChange
static function PullChange($type, $arParams)
{
	if(!CModule::IncludeModule('pull'))
	{
		return;
	}

	$type = strval($type);
	if($type === '')
	{
		$type = 'update';
	}
	else
	{
		$type = mb_strtolower($type);
	}

	CPullWatch::AddToStack(
		'CRM_DEAL_CHANGE',
		array(
			'module_id'  => 'crm',
			'command'    => "crm_deal_{$type}",
			'params'     => $arParams
		)
	);
}

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