CAllCrmQuote::PullChange

  1. Bitrix24 API (v. 23.675.0)
  2. crm
  3. CAllCrmQuote
  4. PullChange
  • Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/classes/general/crm_quote.php
  • Класс: \CAllCrmQuote
  • Вызов: CAllCrmQuote::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_QUOTE_CHANGE',
		array(
			'module_id'  => 'crm',
			'command'    => "crm_quote_{$type}",
			'params'     => $arParams
		)
	);
}

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