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

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