• Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/Service/Router.php
  • Класс: Bitrix\Crm\Service\Router
  • Вызов: Router::getNumeratorSettingsUrl
public function getNumeratorSettingsUrl(int $numeratorId, string $numeratorType): ?Uri
{
	$componentPath = \CComponentEngine::makeComponentPath('bitrix:main.numerator.edit');
	$componentPath = getLocalPath('components'.$componentPath.'/slider.php');
	if (!$componentPath)
	{
		return null;
	}

	$url = new Uri($componentPath);
	$url->addParams([
		'ID' => $numeratorId,
		'NUMERATOR_TYPE' => $numeratorType,
	]);

	return $url;
}