• Модуль: iblock
  • Путь к файлу: ~/bitrix/modules/iblock/lib/url/adminpage/iblockbuilder.php
  • Класс: BitrixIblockUrlAdminPageIblockBuilder
  • Вызов: IblockBuilder::initUrlTemplates
protected function initUrlTemplates(): void
{
	$this->urlTemplates[self::PAGE_SECTION_LIST] = '#PATH_PREFIX#'
		.($this->iblockListMixed ? 'iblock_list_admin.php' : 'iblock_section_admin.php')
		.'?#BASE_PARAMS#'
		.'#PARENT_FILTER#'
		.'#ADDITIONAL_PARAMETERS#';
	$this->urlTemplates[self::PAGE_SECTION_DETAIL] = '#PATH_PREFIX#'
		.'iblock_section_edit.php'
		.'?#BASE_PARAMS#'
		.'#ENTITY_FILTER#'
		.'#ADDITIONAL_PARAMETERS#';
	$this->urlTemplates[self::PAGE_SECTION_COPY] = $this->urlTemplates[self::PAGE_SECTION_DETAIL]
		.$this->getCopyAction();
	$this->urlTemplates[self::PAGE_SECTION_SAVE] = '#PATH_PREFIX#'
		.'iblock_section_edit.php'
		.'?#BASE_PARAMS#'
		.'#ADDITIONAL_PARAMETERS#';
	$this->urlTemplates[self::PAGE_SECTION_SEARCH] = '/bitrix/tools/iblock/section_search.php'
		.'?#LANGUAGE#'
		.'#ADDITIONAL_PARAMETERS#';

	$this->urlTemplates[self::PAGE_ELEMENT_LIST] = '#PATH_PREFIX#'
		.($this->iblockListMixed ? 'iblock_list_admin.php' : 'iblock_element_admin.php')
		.'?#BASE_PARAMS#'
		.'#PARENT_FILTER#'
		.'#ADDITIONAL_PARAMETERS#';
	$this->urlTemplates[self::PAGE_ELEMENT_DETAIL] = '#PATH_PREFIX#'
		.'iblock_element_edit.php'
		.'?#BASE_PARAMS#'
		.'#ENTITY_FILTER#'
		.'#ADDITIONAL_PARAMETERS#';
	$this->urlTemplates[self::PAGE_ELEMENT_COPY] = $this->urlTemplates[self::PAGE_ELEMENT_DETAIL]
		.$this->getCopyAction();
	$this->urlTemplates[self::PAGE_ELEMENT_SAVE] = '#PATH_PREFIX#'
		.'iblock_element_edit.php'
		.'?#BASE_PARAMS#'
		.'#ADDITIONAL_PARAMETERS#';
	$this->urlTemplates[self::PAGE_ELEMENT_SEARCH] = '/bitrix/tools/iblock/element_search.php'
		.'?#LANGUAGE#'
		.'#ADDITIONAL_PARAMETERS#';
}