• Модуль: landing
  • Путь к файлу: ~/bitrix/modules/landing/lib/source/selector.php
  • Класс: BitrixLandingSourceSelector
  • Вызов: Selector::getUrlSystemParams
protected function getUrlSystemParams()
{
	$result = [
		'lang' => LANGUAGE_ID
	];
	if (defined('SITE_ID'))
	{
		$result['site'] = SITE_ID;
	}
	if (defined('SITE_TEMPLATE_ID'))
	{
		$result['template'] = SITE_TEMPLATE_ID;
	}
	$request = MainContext::getCurrent()->getRequest();
	if ($request->isAdminSection())
	{
		$result['admin_section'] = 'Y';
	}
	unset($request);
	return $result;
}