ez-pro/s1/projects/.left.menu_ext.php
2025-11-13 19:04:05 +03:00

21 lines
847 B
PHP

<?
if(!defined('B_PROLOG_INCLUDED') || B_PROLOG_INCLUDED !== true) die();
$aMenuLinksExt = array();
if($arMenuParametrs = CAllcorp3::GetDirMenuParametrs(__DIR__))
{
$iblock_id = CAllcorp3Cache::$arIBlocks[SITE_ID]['aspro_allcorp3_content']['aspro_allcorp3_projects'][0];
$arExtParams = array(
'IBLOCK_ID' => $iblock_id,
'MENU_PARAMS' => $arMenuParametrs,
'SECTION_FILTER' => array(), // custom filter for sections (through array_merge)
'SECTION_SELECT' => array(), // custom select for sections (through array_merge)
'ELEMENT_FILTER' => array(), // custom filter for elements (through array_merge)
'ELEMENT_SELECT' => array(), // custom select for elements (through array_merge)
'MENU_TYPE' => 'catalog',
);
CAllcorp3::getMenuChildsExt($arExtParams, $aMenuLinksExt);
}
$aMenuLinks = array_merge($aMenuLinks, $aMenuLinksExt);
?>