21 lines
847 B
PHP
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);
|
|
?>
|