На PHP узнать откуда был вызван метод класса/функция?
Через метод debug_backtrace():
$trace = debug_backtrace();
$caller = $trace[1];
echo "Called by {$caller['function']}";
if (isset($caller['class'])) echo " in {$caller['class']}";
Пример print_r(debug_backtrace()):
Array
(
[0] => Array
(
[file] => /var/www/bitrix/modules/main/classes/general/component_template.php
[line] => 790
[function] => include
)
[1] => Array
(
[file] => /var/www/bitrix/modules/main/classes/general/component_template.php
[line] => 885
[function] => __IncludePHPTemplate
[class] => CBitrixComponentTemplate
[object] => CBitrixComponentTemplate Object
(
[__name] => header_menu_new_2
[__page] => template
[__engineID] => php
[__file] => /bitrix/templates/ai/components/bitrix/catalog.section.list/header_menu_new_2/template.php
[__fileAlt] =>
[__folder] => /bitrix/templates/ai/components/bitrix/catalog.section.list/header_menu_new_2
[__siteTemplate] => ai
[__templateInTheme] =>
[__hasCSS] =>
[__hasJS] =>
[__component] => CBitrixComponent Object
(
[__name] => bitrix:catalog.section.list
[__relativePath:CBitrixComponent:private] => /bitrix/catalog.section.list
[__path] => /bitrix/components/bitrix/catalog.section.list
[__templateName:CBitrixComponent:private] => header_menu_new_2
[__templatePage] =>
[__template] => CBitrixComponentTemplate Object
*RECURSION*
[__component_epilog:CBitrixComponent:private] =>
[arParams] => Array
(
[ADD_SECTIONS_CHAIN] =>
[CACHE_FILTER] =>
[CACHE_GROUPS] => N
[CACHE_TIME] => 36000000
[CACHE_TYPE] => A
[COUNT_ELEMENTS] =>
[COUNT_ELEMENTS_FILTER] => CNT_ACTIVE
[FILTER_NAME] => sectionsFilter
[IBLOCK_ID] => 1
[IBLOCK_TYPE] => katalog
[SECTION_CODE] =>
[SECTION_FIELDS] => Array
(
[0] => NAME
[1] => DESCRIPTION
[2] => PICTURE
)
[SECTION_ID] => 0
[SECTION_URL] =>
[SECTION_USER_FIELDS] => Array
(
[0] => UF_MENU_ICON
[1] => UF_ICON_SVG
)
[SHOW_PARENT_NAME] => Y
[TOP_DEPTH] => 1
[VIEW_MODE] => LINE
[iblockPicture] =>
[~ADD_SECTIONS_CHAIN] => N
[~CACHE_FILTER] => N
[~CACHE_GROUPS] => N
[~CACHE_TIME] => 36000000
[~CACHE_TYPE] => A
[~COUNT_ELEMENTS] => N
[~COUNT_ELEMENTS_FILTER] => CNT_ACTIVE
[~FILTER_NAME] => sectionsFilter
[~IBLOCK_ID] => 1
[~IBLOCK_TYPE] => katalog
[~SECTION_CODE] =>
[~SECTION_FIELDS] => Array
(
[0] => NAME
[1] => DESCRIPTION
[2] => PICTURE
)
[~SECTION_ID] => 0
[~SECTION_URL] =>
[~SECTION_USER_FIELDS] => Array
(
[0] => UF_MENU_ICON
[1] => UF_ICON_SVG
)
[~SHOW_PARENT_NAME] => Y
[~TOP_DEPTH] => 1
[~VIEW_MODE] => LINE
[~iblockPicture] =>
[SHOW_TITLE] =>
)
[arResult] => Array
(
[SECTIONS] => Array
(
[0] => Array
(
[NAME] => Бытовая техника, аксессуары для телефонов
[~NAME] => Бытовая техника, аксессуары для телефонов
[DESCRIPTION] =>
[~DESCRIPTION] =>
[PICTURE] =>
[~PICTURE] =>
[ID] => 1
[~ID] => 1
[LEFT_MARGIN] => 1
[~LEFT_MARGIN] => 1
[RIGHT_MARGIN] => 18
[~RIGHT_MARGIN] => 18
[DEPTH_LEVEL] => 1
[~DEPTH_LEVEL] => 1
[IBLOCK_ID] => 1
[~IBLOCK_ID] => 1
[IBLOCK_SECTION_ID] =>
[~IBLOCK_SECTION_ID] =>
[LIST_PAGE_URL] => katalog
[~LIST_PAGE_URL] => katalog
[SECTION_PAGE_URL] =>
[~SECTION_PAGE_URL] =>
[DESCRIPTION_TYPE] => text
[~DESCRIPTION_TYPE] => text
[CODE] => group_00024
[~CODE] => group_00024
[EXTERNAL_ID] => 2A4D62C4-C5A7-11E9-80EA-005056A738A4
[~EXTERNAL_ID] => 2A4D62C4-C5A7-11E9-80EA-005056A738A4
[IBLOCK_TYPE_ID] => 1c_catalog
[~IBLOCK_TYPE_ID] => 1c_catalog
[IBLOCK_CODE] => katalog
[~IBLOCK_CODE] => katalog
[IBLOCK_EXTERNAL_ID] => catalog_assorty
[~IBLOCK_EXTERNAL_ID] => catalog_assorty
[GLOBAL_ACTIVE] => Y
[~GLOBAL_ACTIVE] => Y
[RELATIVE_DEPTH_LEVEL] => 1
[EDIT_LINK] => /bitrix/admin/cat_section_edit.php?IBLOCK_ID=1&type=1c_catalog&ID=1&lang=ru&force_catalog=1&filter_section=1&bxpublic=Y&from_module=iblock&return_url=%2F%3Fclear_cache%3DY
[DELETE_LINK] => /bitrix/admin/iblock_section_admin.php?IBLOCK_ID=1&type=1c_catalog&lang=ru&action=delete&ID[]=1&return_url=%2F%3Fclear_cache%3DY
[~ELEMENT_CNT] =>
[ELEMENT_CNT] =>
[ELEMENT_CNT_TITLE] =>
[IPROPERTY_VALUES] => Array
(
)
)
[1] => Array
(
[NAME] => Канцтовары и игрушки
[~NAME] => Канцтовары и игрушки
[DESCRIPTION] =>
[~DESCRIPTION] =>
[PICTURE] =>
[~PICTURE] =>
[ID] => 125
[~ID] => 125
[LEFT_MARGIN] => 19
[~LEFT_MARGIN] => 19
[RIGHT_MARGIN] => 44
[~RIGHT_MARGIN] => 44
[DEPTH_LEVEL] => 1
[~DEPTH_LEVEL] => 1
[IBLOCK_ID] => 1
[~IBLOCK_ID] => 1
[IBLOCK_SECTION_ID] =>
[~IBLOCK_SECTION_ID] =>
[LIST_PAGE_URL] => katalog
[~LIST_PAGE_URL] => katalog
[SECTION_PAGE_URL] =>
[~SECTION_PAGE_URL] =>
[DESCRIPTION_TYPE] => text
[~DESCRIPTION_TYPE] => text
[CODE] => group_00014
[~CODE] => group_00014
[EXTERNAL_ID] => F14E4DBB-C5A5-11E9-80EA-005056A738A4
[~EXTERNAL_ID] => F14E4DBB-C5A5-11E9-80EA-005056A738A4
[IBLOCK_TYPE_ID] => 1c_catalog
[~IBLOCK_TYPE_ID] => 1c_catalog
[IBLOCK_CODE] => katalog
[~IBLOCK_CODE] => katalog
[IBLOCK_EXTERNAL_ID] => catalog_assorty
[~IBLOCK_EXTERNAL_ID] => catalog_assorty
[GLOBAL_ACTIVE] => Y
[~GLOBAL_ACTIVE] => Y
[RELATIVE_DEPTH_LEVEL] => 1
[EDIT_LINK] => /bitrix/admin/cat_section_edit.php?IBLOCK_ID=1&type=1c_catalog&ID=125&lang=ru&force_catalog=1&filter_section=125&bxpublic=Y&from_module=iblock&return_url=%2F%3Fclear_cache%3DY
[DELETE_LINK] => /bitrix/admin/iblock_section_admin.php?IBLOCK_ID=1&type=1c_catalog&lang=ru&action=delete&ID[]=125&return_url=%2F%3Fclear_cache%3DY
[~ELEMENT_CNT] =>
[ELEMENT_CNT] =>
[ELEMENT_CNT_TITLE] =>
[IPROPERTY_VALUES] => Array
(
)
)
)
[SECTION] => Array
(
[ID] => 0
[DEPTH_LEVEL] => 0
)
[SECTIONS_COUNT] => 2
)
[arResultCacheKeys] => Array
(
[0] => SECTIONS_COUNT
[1] => SECTION
)
[__component_epilog] =>
[__bInited] => 1
[__view:CBitrixComponentTemplate:private] => Array
(
)
[frames:CBitrixComponentTemplate:private] => Array
(
)
[frameMode:CBitrixComponentTemplate:private] =>
[languageId:CBitrixComponentTemplate:private] => ru
[externalCss:CBitrixComponentTemplate:private] => Array
(
)
[externalJs:CBitrixComponentTemplate:private] => Array
(
)
)
[type] => ->
[args] => Array
(
[0] => Array
(
[SECTIONS] => Array
(
[0] => Array
(
[NAME] => Бытовая техника, аксессуары для телефонов
[~NAME] => Бытовая техника, аксессуары для телефонов
[DESCRIPTION] =>
[~DESCRIPTION] =>
[PICTURE] =>
[~PICTURE] =>
[ID] => 1
[~ID] => 1
[LEFT_MARGIN] => 1
[~LEFT_MARGIN] => 1
[RIGHT_MARGIN] => 18
[~RIGHT_MARGIN] => 18
[DEPTH_LEVEL] => 1
[~DEPTH_LEVEL] => 1
[IBLOCK_ID] => 1
[~IBLOCK_ID] => 1
[IBLOCK_SECTION_ID] =>
[~IBLOCK_SECTION_ID] =>
[LIST_PAGE_URL] => katalog
[~LIST_PAGE_URL] => katalog
[SECTION_PAGE_URL] =>
[~SECTION_PAGE_URL] =>
[DESCRIPTION_TYPE] => text
[~DESCRIPTION_TYPE] => text
[CODE] => group_00024
[~CODE] => group_00024
[EXTERNAL_ID] => 2A4D62C4-C5A7-11E9-80EA-005056A738A4
[~EXTERNAL_ID] => 2A4D62C4-C5A7-11E9-80EA-005056A738A4
[IBLOCK_TYPE_ID] => 1c_catalog
[~IBLOCK_TYPE_ID] => 1c_catalog
[IBLOCK_CODE] => katalog
[~IBLOCK_CODE] => katalog
[IBLOCK_EXTERNAL_ID] => catalog_assorty
[~IBLOCK_EXTERNAL_ID] => catalog_assorty
[GLOBAL_ACTIVE] => Y
[~GLOBAL_ACTIVE] => Y
[RELATIVE_DEPTH_LEVEL] => 1
[EDIT_LINK] => /bitrix/admin/cat_section_edit.php?IBLOCK_ID=1&type=1c_catalog&ID=1&lang=ru&force_catalog=1&filter_section=1&bxpublic=Y&from_module=iblock&return_url=%2F%3Fclear_cache%3DY
[DELETE_LINK] => /bitrix/admin/iblock_section_admin.php?IBLOCK_ID=1&type=1c_catalog&lang=ru&action=delete&ID[]=1&return_url=%2F%3Fclear_cache%3DY
[~ELEMENT_CNT] =>
[ELEMENT_CNT] =>
[ELEMENT_CNT_TITLE] =>
[IPROPERTY_VALUES] => Array
(
)
)
[1] => Array
(
[NAME] => Канцтовары и игрушки
[~NAME] => Канцтовары и игрушки
[DESCRIPTION] =>
[~DESCRIPTION] =>
[PICTURE] =>
[~PICTURE] =>
[ID] => 125
[~ID] => 125
[LEFT_MARGIN] => 19
[~LEFT_MARGIN] => 19
[RIGHT_MARGIN] => 44
[~RIGHT_MARGIN] => 44
[DEPTH_LEVEL] => 1
[~DEPTH_LEVEL] => 1
[IBLOCK_ID] => 1
[~IBLOCK_ID] => 1
[IBLOCK_SECTION_ID] =>
[~IBLOCK_SECTION_ID] =>
[LIST_PAGE_URL] => katalog
[~LIST_PAGE_URL] => katalog
[SECTION_PAGE_URL] =>
[~SECTION_PAGE_URL] =>
[DESCRIPTION_TYPE] => text
[~DESCRIPTION_TYPE] => text
[CODE] => group_00014
[~CODE] => group_00014
[EXTERNAL_ID] => F14E4DBB-C5A5-11E9-80EA-005056A738A4
[~EXTERNAL_ID] => F14E4DBB-C5A5-11E9-80EA-005056A738A4
[IBLOCK_TYPE_ID] => 1c_catalog
[~IBLOCK_TYPE_ID] => 1c_catalog
[IBLOCK_CODE] => katalog
[~IBLOCK_CODE] => katalog
[IBLOCK_EXTERNAL_ID] => catalog_assorty
[~IBLOCK_EXTERNAL_ID] => catalog_assorty
[GLOBAL_ACTIVE] => Y
[~GLOBAL_ACTIVE] => Y
[RELATIVE_DEPTH_LEVEL] => 1
[EDIT_LINK] => /bitrix/admin/cat_section_edit.php?IBLOCK_ID=1&type=1c_catalog&ID=125&lang=ru&force_catalog=1&filter_section=125&bxpublic=Y&from_module=iblock&return_url=%2F%3Fclear_cache%3DY
[DELETE_LINK] => /bitrix/admin/iblock_section_admin.php?IBLOCK_ID=1&type=1c_catalog&lang=ru&action=delete&ID[]=125&return_url=%2F%3Fclear_cache%3DY
[~ELEMENT_CNT] =>
[ELEMENT_CNT] =>
[ELEMENT_CNT_TITLE] =>
[IPROPERTY_VALUES] => Array
(
)
)
)
[SECTION] => Array
(
[ID] => 0
[DEPTH_LEVEL] => 0
)
[SECTIONS_COUNT] => 2
)
[1] =>
)
)
[2] => Array
(
[file] => /var/www/bitrix/modules/main/classes/general/component.php
[line] => 775
[function] => IncludeTemplate
[class] => CBitrixComponentTemplate
[object] => CBitrixComponentTemplate Object
(
[__name] => header_menu_new_2
[__page] => template
[__engineID] => php
[__file] => /bitrix/templates/ai/components/bitrix/catalog.section.list/header_menu_new_2/template.php
[__fileAlt] =>
[__folder] => /bitrix/templates/ai/components/bitrix/catalog.section.list/header_menu_new_2
[__siteTemplate] => ai
[__templateInTheme] =>
[__hasCSS] =>
[__hasJS] =>
[__component] => CBitrixComponent Object
(
[__name] => bitrix:catalog.section.list
[__relativePath:CBitrixComponent:private] => /bitrix/catalog.section.list
[__path] => /bitrix/components/bitrix/catalog.section.list
[__templateName:CBitrixComponent:private] => header_menu_new_2
[__templatePage] =>
[__template] => CBitrixComponentTemplate Object
*RECURSION*
[__component_epilog:CBitrixComponent:private] =>
[arParams] => Array
(
[ADD_SECTIONS_CHAIN] =>
)
[arResult] => Array
(
[SECTIONS] => Array
(
[0] => Array
(
[NAME] => Бытовая техника, аксессуары для телефонов
[~NAME] => Бытовая техника, аксессуары для телефонов
[DESCRIPTION] =>
[~DESCRIPTION] =>
[PICTURE] =>
[~PICTURE] =>
[ID] => 1
[~ID] => 1
[LEFT_MARGIN] => 1
[~LEFT_MARGIN] => 1
[RIGHT_MARGIN] => 18
[~RIGHT_MARGIN] => 18
[DEPTH_LEVEL] => 1
[~DEPTH_LEVEL] => 1
[IBLOCK_ID] => 1
[~IBLOCK_ID] => 1
[IBLOCK_SECTION_ID] =>
[~IBLOCK_SECTION_ID] =>
[LIST_PAGE_URL] => katalog
[~LIST_PAGE_URL] => katalog
[SECTION_PAGE_URL] =>
[~SECTION_PAGE_URL] =>
[DESCRIPTION_TYPE] => text
[~DESCRIPTION_TYPE] => text
[CODE] => group_00024
[~CODE] => group_00024
[EXTERNAL_ID] => 2A4D62C4-C5A7-11E9-80EA-005056A738A4
[~EXTERNAL_ID] => 2A4D62C4-C5A7-11E9-80EA-005056A738A4
[IBLOCK_TYPE_ID] => 1c_catalog
[~IBLOCK_TYPE_ID] => 1c_catalog
[IBLOCK_CODE] => katalog
[~IBLOCK_CODE] => katalog
[IBLOCK_EXTERNAL_ID] => catalog_assorty
[~IBLOCK_EXTERNAL_ID] => catalog_assorty
[GLOBAL_ACTIVE] => Y
[~GLOBAL_ACTIVE] => Y
[RELATIVE_DEPTH_LEVEL] => 1
[EDIT_LINK] => /bitrix/admin/cat_section_edit.php?IBLOCK_ID=1&type=1c_catalog&ID=1&lang=ru&force_catalog=1&filter_section=1&bxpublic=Y&from_module=iblock&return_url=%2F%3Fclear_cache%3DY
[DELETE_LINK] => /bitrix/admin/iblock_section_admin.php?IBLOCK_ID=1&type=1c_catalog&lang=ru&action=delete&ID[]=1&return_url=%2F%3Fclear_cache%3DY
[~ELEMENT_CNT] =>
[ELEMENT_CNT] =>
[ELEMENT_CNT_TITLE] =>
[IPROPERTY_VALUES] => Array
(
)
)
[1] => Array
(
[NAME] => Канцтовары и игрушки
[~NAME] => Канцтовары и игрушки
[DESCRIPTION] =>
[~DESCRIPTION] =>
[PICTURE] =>
[~PICTURE] =>
[ID] => 125
[~ID] => 125
[LEFT_MARGIN] => 19
[~LEFT_MARGIN] => 19
[RIGHT_MARGIN] => 44
[~RIGHT_MARGIN] => 44
[DEPTH_LEVEL] => 1
[~DEPTH_LEVEL] => 1
[IBLOCK_ID] => 1
[~IBLOCK_ID] => 1
[IBLOCK_SECTION_ID] =>
[~IBLOCK_SECTION_ID] =>
[LIST_PAGE_URL] => katalog
[~LIST_PAGE_URL] => katalog
[SECTION_PAGE_URL] =>
[~SECTION_PAGE_URL] =>
[DESCRIPTION_TYPE] => text
[~DESCRIPTION_TYPE] => text
[CODE] => group_00014
[~CODE] => group_00014
[EXTERNAL_ID] => F14E4DBB-C5A5-11E9-80EA-005056A738A4
[~EXTERNAL_ID] => F14E4DBB-C5A5-11E9-80EA-005056A738A4
[IBLOCK_TYPE_ID] => 1c_catalog
[~IBLOCK_TYPE_ID] => 1c_catalog
[IBLOCK_CODE] => katalog
[~IBLOCK_CODE] => katalog
[IBLOCK_EXTERNAL_ID] => catalog_assorty
[~IBLOCK_EXTERNAL_ID] => catalog_assorty
[GLOBAL_ACTIVE] => Y
[~GLOBAL_ACTIVE] => Y
[RELATIVE_DEPTH_LEVEL] => 1
[EDIT_LINK] => /bitrix/admin/cat_section_edit.php?IBLOCK_ID=1&type=1c_catalog&ID=125&lang=ru&force_catalog=1&filter_section=125&bxpublic=Y&from_module=iblock&return_url=%2F%3Fclear_cache%3DY
[DELETE_LINK] => /bitrix/admin/iblock_section_admin.php?IBLOCK_ID=1&type=1c_catalog&lang=ru&action=delete&ID[]=125&return_url=%2F%3Fclear_cache%3DY
[~ELEMENT_CNT] =>
[ELEMENT_CNT] =>
[ELEMENT_CNT_TITLE] =>
[IPROPERTY_VALUES] => Array
(
)
)
[2] => Array
(
[NAME] => Парфюмерия
[~NAME] => Парфюмерия
[DESCRIPTION] =>
[~DESCRIPTION] =>
[PICTURE] =>
[~PICTURE] =>
[ID] => 224
[~ID] => 224
[LEFT_MARGIN] => 47
[~LEFT_MARGIN] => 47
[RIGHT_MARGIN] => 118
[~RIGHT_MARGIN] => 118
[DEPTH_LEVEL] => 1
[~DEPTH_LEVEL] => 1
[IBLOCK_ID] => 1
[~IBLOCK_ID] => 1
[IBLOCK_SECTION_ID] =>
[~IBLOCK_SECTION_ID] =>
[LIST_PAGE_URL] => katalog
[~LIST_PAGE_URL] => katalog
[SECTION_PAGE_URL] =>
[~SECTION_PAGE_URL] =>
[DESCRIPTION_TYPE] => text
[~DESCRIPTION_TYPE] => text
[CODE] => group_00002
[~CODE] => group_00002
[EXTERNAL_ID] => F14E4DDC-C5A5-11E9-80EA-005056A738A4
[~EXTERNAL_ID] => F14E4DDC-C5A5-11E9-80EA-005056A738A4
[IBLOCK_TYPE_ID] => 1c_catalog
[~IBLOCK_TYPE_ID] => 1c_catalog
[IBLOCK_CODE] => katalog
[~IBLOCK_CODE] => katalog
[IBLOCK_EXTERNAL_ID] => catalog_assorty
[~IBLOCK_EXTERNAL_ID] => catalog_assorty
[GLOBAL_ACTIVE] => Y
[~GLOBAL_ACTIVE] => Y
[RELATIVE_DEPTH_LEVEL] => 1
[EDIT_LINK] => /bitrix/admin/cat_section_edit.php?IBLOCK_ID=1&type=1c_catalog&ID=224&lang=ru&force_catalog=1&filter_section=224&bxpublic=Y&from_module=iblock&return_url=%2F%3Fclear_cache%3DY
[DELETE_LINK] => /bitrix/admin/iblock_section_admin.php?IBLOCK_ID=1&type=1c_catalog&lang=ru&action=delete&ID[]=224&return_url=%2F%3Fclear_cache%3DY
[~ELEMENT_CNT] =>
[ELEMENT_CNT] =>
[ELEMENT_CNT_TITLE] =>
[IPROPERTY_VALUES] => Array
(
)
)
)
[SECTION] => Array
(
[ID] => 0
[DEPTH_LEVEL] => 0
)
[SECTIONS_COUNT] => 2
)
[arResultCacheKeys] => Array
(
[0] => SECTIONS_COUNT
[1] => SECTION
)
[siteId:CBitrixComponent:private] => s1
[siteTemplateId:CBitrixComponent:private] => ai
[languageId:CBitrixComponent:private] => ru
[signedParameters:protected] =>
)
[__component_epilog] =>
[__bInited] => 1
[__view:CBitrixComponentTemplate:private] => Array
(
)
[frames:CBitrixComponentTemplate:private] => Array
(
)
[frameMode:CBitrixComponentTemplate:private] =>
[languageId:CBitrixComponentTemplate:private] => ru
[externalCss:CBitrixComponentTemplate:private] => Array
(
)
[externalJs:CBitrixComponentTemplate:private] => Array
(
)
)
[type] => ->
[args] => Array
(
[0] => Array
(
[SECTIONS] => Array
(
[0] => Array
(
[NAME] => Бытовая техника, аксессуары для телефонов
[~NAME] => Бытовая техника, аксессуары для телефонов
[DESCRIPTION] =>
[~DESCRIPTION] =>
[PICTURE] =>
[~PICTURE] =>
[ID] => 1
[~ID] => 1
[LEFT_MARGIN] => 1
[~LEFT_MARGIN] => 1
[RIGHT_MARGIN] => 18
[~RIGHT_MARGIN] => 18
[DEPTH_LEVEL] => 1
[~DEPTH_LEVEL] => 1
[IBLOCK_ID] => 1
[~IBLOCK_ID] => 1
[IBLOCK_SECTION_ID] =>
[~IBLOCK_SECTION_ID] =>
[LIST_PAGE_URL] => katalog
[~LIST_PAGE_URL] => katalog
[SECTION_PAGE_URL] =>
[~SECTION_PAGE_URL] =>
[DESCRIPTION_TYPE] => text
[~DESCRIPTION_TYPE] => text
[CODE] => group_00024
[~CODE] => group_00024
[EXTERNAL_ID] => 2A4D62C4-C5A7-11E9-80EA-005056A738A4
[~EXTERNAL_ID] => 2A4D62C4-C5A7-11E9-80EA-005056A738A4
[IBLOCK_TYPE_ID] => 1c_catalog
[~IBLOCK_TYPE_ID] => 1c_catalog
[IBLOCK_CODE] => katalog
[~IBLOCK_CODE] => katalog
[IBLOCK_EXTERNAL_ID] => catalog_assorty
[~IBLOCK_EXTERNAL_ID] => catalog_assorty
[GLOBAL_ACTIVE] => Y
[~GLOBAL_ACTIVE] => Y
[RELATIVE_DEPTH_LEVEL] => 1
[EDIT_LINK] => /bitrix/admin/cat_section_edit.php?IBLOCK_ID=1&type=1c_catalog&ID=1&lang=ru&force_catalog=1&filter_section=1&bxpublic=Y&from_module=iblock&return_url=%2F%3Fclear_cache%3DY
[DELETE_LINK] => /bitrix/admin/iblock_section_admin.php?IBLOCK_ID=1&type=1c_catalog&lang=ru&action=delete&ID[]=1&return_url=%2F%3Fclear_cache%3DY
[~ELEMENT_CNT] =>
[ELEMENT_CNT] =>
[ELEMENT_CNT_TITLE] =>
[IPROPERTY_VALUES] => Array
(
)
)
[1] => Array
(
[NAME] => Канцтовары и игрушки
[~NAME] => Канцтовары и игрушки
[DESCRIPTION] =>
[~DESCRIPTION] =>
[PICTURE] =>
[~PICTURE] =>
[ID] => 125
[~ID] => 125
[LEFT_MARGIN] => 19
[~LEFT_MARGIN] => 19
[RIGHT_MARGIN] => 44
[~RIGHT_MARGIN] => 44
[DEPTH_LEVEL] => 1
[~DEPTH_LEVEL] => 1
[IBLOCK_ID] => 1
[~IBLOCK_ID] => 1
[IBLOCK_SECTION_ID] =>
[~IBLOCK_SECTION_ID] =>
[LIST_PAGE_URL] => katalog
[~LIST_PAGE_URL] => katalog
[SECTION_PAGE_URL] =>
[~SECTION_PAGE_URL] =>
[DESCRIPTION_TYPE] => text
[~DESCRIPTION_TYPE] => text
[CODE] => group_00014
[~CODE] => group_00014
[EXTERNAL_ID] => F14E4DBB-C5A5-11E9-80EA-005056A738A4
[~EXTERNAL_ID] => F14E4DBB-C5A5-11E9-80EA-005056A738A4
[IBLOCK_TYPE_ID] => 1c_catalog
[~IBLOCK_TYPE_ID] => 1c_catalog
[IBLOCK_CODE] => katalog
[~IBLOCK_CODE] => katalog
[IBLOCK_EXTERNAL_ID] => catalog_assorty
[~IBLOCK_EXTERNAL_ID] => catalog_assorty
[GLOBAL_ACTIVE] => Y
[~GLOBAL_ACTIVE] => Y
[RELATIVE_DEPTH_LEVEL] => 1
[EDIT_LINK] => /bitrix/admin/cat_section_edit.php?IBLOCK_ID=1&type=1c_catalog&ID=125&lang=ru&force_catalog=1&filter_section=125&bxpublic=Y&from_module=iblock&return_url=%2F%3Fclear_cache%3DY
[DELETE_LINK] => /bitrix/admin/iblock_section_admin.php?IBLOCK_ID=1&type=1c_catalog&lang=ru&action=delete&ID[]=125&return_url=%2F%3Fclear_cache%3DY
[~ELEMENT_CNT] =>
[ELEMENT_CNT] =>
[ELEMENT_CNT_TITLE] =>
[IPROPERTY_VALUES] => Array
(
)
)
)
[SECTION] => Array
(
[ID] => 0
[DEPTH_LEVEL] => 0
)
[SECTIONS_COUNT] => 2
)
)
)
[3] => Array
(
[file] => /var/www/bitrix/modules/main/classes/general/component.php
[line] => 716
[function] => showComponentTemplate
[class] => CBitrixComponent
[object] => CBitrixComponent Object
(
[__name] => bitrix:catalog.section.list
[__relativePath:CBitrixComponent:private] => /bitrix/catalog.section.list
[__path] => /bitrix/components/bitrix/catalog.section.list
[__templateName:CBitrixComponent:private] => header_menu_new_2
[__templatePage] =>
[__component_epilog:CBitrixComponent:private] =>
[arParams] => Array
(
[ADD_SECTIONS_CHAIN] =>
)
[arResult] => Array
(
[SECTIONS] => Array
(
[0] => Array
(
[NAME] => Бытовая техника, аксессуары для телефонов
[~NAME] => Бытовая техника, аксессуары для телефонов
[DESCRIPTION] =>
[~DESCRIPTION] =>
[PICTURE] =>
[~PICTURE] =>
[ID] => 1
[~ID] => 1
[LEFT_MARGIN] => 1
[~LEFT_MARGIN] => 1
[RIGHT_MARGIN] => 18
[~RIGHT_MARGIN] => 18
[DEPTH_LEVEL] => 1
[~DEPTH_LEVEL] => 1
[IBLOCK_ID] => 1
[~IBLOCK_ID] => 1
[IBLOCK_SECTION_ID] =>
[~IBLOCK_SECTION_ID] =>
[LIST_PAGE_URL] => katalog
[~LIST_PAGE_URL] => katalog
[SECTION_PAGE_URL] =>
[~SECTION_PAGE_URL] =>
[DESCRIPTION_TYPE] => text
[~DESCRIPTION_TYPE] => text
[CODE] => group_00024
[~CODE] => group_00024
[EXTERNAL_ID] => 2A4D62C4-C5A7-11E9-80EA-005056A738A4
[~EXTERNAL_ID] => 2A4D62C4-C5A7-11E9-80EA-005056A738A4
[IBLOCK_TYPE_ID] => 1c_catalog
[~IBLOCK_TYPE_ID] => 1c_catalog
[IBLOCK_CODE] => katalog
[~IBLOCK_CODE] => katalog
[IBLOCK_EXTERNAL_ID] => catalog_assorty
[~IBLOCK_EXTERNAL_ID] => catalog_assorty
[GLOBAL_ACTIVE] => Y
[~GLOBAL_ACTIVE] => Y
[RELATIVE_DEPTH_LEVEL] => 1
[EDIT_LINK] => /bitrix/admin/cat_section_edit.php?IBLOCK_ID=1&type=1c_catalog&ID=1&lang=ru&force_catalog=1&filter_section=1&bxpublic=Y&from_module=iblock&return_url=%2F%3Fclear_cache%3DY
[DELETE_LINK] => /bitrix/admin/iblock_section_admin.php?IBLOCK_ID=1&type=1c_catalog&lang=ru&action=delete&ID[]=1&return_url=%2F%3Fclear_cache%3DY
[~ELEMENT_CNT] =>
[ELEMENT_CNT] =>
[ELEMENT_CNT_TITLE] =>
[IPROPERTY_VALUES] => Array
(
)
)
[1] => Array
(
[NAME] => Канцтовары и игрушки
[~NAME] => Канцтовары и игрушки
[DESCRIPTION] =>
[~DESCRIPTION] =>
[PICTURE] =>
[~PICTURE] =>
[ID] => 125
[~ID] => 125
[LEFT_MARGIN] => 19
[~LEFT_MARGIN] => 19
[RIGHT_MARGIN] => 44
[~RIGHT_MARGIN] => 44
[DEPTH_LEVEL] => 1
[~DEPTH_LEVEL] => 1
[IBLOCK_ID] => 1
[~IBLOCK_ID] => 1
[IBLOCK_SECTION_ID] =>
[~IBLOCK_SECTION_ID] =>
[LIST_PAGE_URL] => katalog
[~LIST_PAGE_URL] => katalog
[SECTION_PAGE_URL] =>
[~SECTION_PAGE_URL] =>
[DESCRIPTION_TYPE] => text
[~DESCRIPTION_TYPE] => text
[CODE] => group_00014
[~CODE] => group_00014
[EXTERNAL_ID] => F14E4DBB-C5A5-11E9-80EA-005056A738A4
[~EXTERNAL_ID] => F14E4DBB-C5A5-11E9-80EA-005056A738A4
[IBLOCK_TYPE_ID] => 1c_catalog
[~IBLOCK_TYPE_ID] => 1c_catalog
[IBLOCK_CODE] => katalog
[~IBLOCK_CODE] => katalog
[IBLOCK_EXTERNAL_ID] => catalog_assorty
[~IBLOCK_EXTERNAL_ID] => catalog_assorty
[GLOBAL_ACTIVE] => Y
[~GLOBAL_ACTIVE] => Y
[RELATIVE_DEPTH_LEVEL] => 1
[EDIT_LINK] => /bitrix/admin/cat_section_edit.php?IBLOCK_ID=1&type=1c_catalog&ID=125&lang=ru&force_catalog=1&filter_section=125&bxpublic=Y&from_module=iblock&return_url=%2F%3Fclear_cache%3DY
[DELETE_LINK] => /bitrix/admin/iblock_section_admin.php?IBLOCK_ID=1&type=1c_catalog&lang=ru&action=delete&ID[]=125&return_url=%2F%3Fclear_cache%3DY
[~ELEMENT_CNT] =>
[ELEMENT_CNT] =>
[ELEMENT_CNT_TITLE] =>
[IPROPERTY_VALUES] => Array
(
)
)
)
[SECTION] => Array
(
[ID] => 0
[DEPTH_LEVEL] => 0
)
[SECTIONS_COUNT] => 2
)
[arResultCacheKeys] => Array
(
[0] => SECTIONS_COUNT
[1] => SECTION
)
[siteId:CBitrixComponent:private] => s1
[siteTemplateId:CBitrixComponent:private] => ai
[languageId:CBitrixComponent:private] => ru
[signedParameters:protected] =>
)
[type] => ->
[args] => Array
(
)
)
[4] => Array
(
[file] => /var/www/bitrix/templates/ai/header.php
[line] => 23
[function] => IncludeComponent
[class] => CAllMain
[object] => CMain Object
(
[ma] =>
[mapos] =>
[sDocPath2] => /index.php
[sDirPath] => /
[sUriParam] => clear_cache=Y
[sDocTitle] =>
[sDocTitleChanger] =>
[arPageProperties] => Array
(
)
[arPagePropertiesChanger] => Array
(
)
[arDirProperties] => Array
(
)
[sLastError] =>
)
[type] => ->
[args] => Array
(
[0] => bitrix:main.include
[1] =>
[2] => Array
(
[AREA_FILE_SHOW] => file
[PATH] => /includes/new/search_panel.php
)
[3] =>
)
)
[5] => Array
(
[file] => /var/www/bitrix/modules/main/include/prolog_after.php
[line] => 107
[args] => Array
(
[0] => /var/www/bitrix/templates/ai/header.php
)
[function] => include_once
)
[6] => Array
(
[file] => /var/www/bitrix/modules/main/include/prolog.php
[line] => 11
[args] => Array
(
[0] => /var/www/bitrix/modules/main/include/prolog_after.php
)
[function] => require
)
[7] => Array
(
[file] => /var/www/bitrix/header.php
[line] => 1
[args] => Array
(
[0] => /var/www/bitrix/modules/main/include/prolog.php
)
[function] => require_once
)
[8] => Array
(
[file] => /var/www/index.php
[line] => 2
[args] => Array
(
[0] => /var/www/bitrix/header.php
)
[function] => require
)
)