• Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/ml/controller/details.php
  • Класс: Bitrix\Crm\Ml\Controller\for
  • Вызов: for::onModelUpdate
static function onModelUpdate(Model\Base $model)
{
	if(!Loader::includeModule("pull"))
	{
		return;
	}

	\CPullWatch::AddToStack(
		static::getPushTag($model),
		[
			"module_id" => "crm",
			"command" => "mlModelUpdate",
			"params" => [
				"model" => $model,
			]
		]
	);
}