• Модуль: rpa
  • Путь к файлу: ~/bitrix/modules/rpa/lib/urlmanager.php
  • Класс: BitrixRpaUrlManager
  • Вызов: UrlManager::parseRequestParameters
protected function parseRequestParameters(HttpRequest $httpRequest = null): ParseResult
{
	if(!$httpRequest)
	{
		$httpRequest = Application::getInstance()->getContext()->getRequest();
	}

	$componentName = $httpRequest->get(static::GET_COMPONENT_NAME);
	if(!array_key_exists($componentName, $this->getUrlTemplates()) || mb_strpos($httpRequest->getRequestUri(), $this->getFullPath()) !== 0)
	{
		$componentName = null;
	}

	return new ParseResult($componentName, $httpRequest->get(static::GET_COMPONENT_PARAMETERS), $httpRequest->get(static::GET_COMPONENT_TEMPLATE));
}