Код |
---|
$rsSections = CIBlockSection::GetList($arOrder, $arFilter, false, array( "ID", "DEPTH_LEVEL", "NAME", "SECTION_PAGE_URL", )); |
Код |
---|
$rsSections = CIBlockSection::GetList($arOrder, $arFilter, true, array( "ID", "DEPTH_LEVEL", "NAME", "SECTION_PAGE_URL", "DETAIL_PICTURE", )); |
Код |
---|
$arResult["SECTIONS"][] = array( "ID" => $arSection["ID"], "DEPTH_LEVEL" => $arSection["DEPTH_LEVEL"], "~NAME" => $arSection["~NAME"], "~SECTION_PAGE_URL" => $arSection["~SECTION_PAGE_URL"], ); |
Код |
---|
$arResult["SECTIONS"][] = array( "ID" => $arSection["ID"], "DEPTH_LEVEL" => $arSection["DEPTH_LEVEL"], "~NAME" => $arSection["~NAME"], "~SECTION_PAGE_URL" => $arSection["~SECTION_PAGE_URL"], "DETAIL_PICTURE" => $arSection["DETAIL_PICTURE"], "ELEMENT_CNT" => $arSection["ELEMENT_CNT"], ); |
Код |
---|
$aMenuLinksNew[$menuIndex++] = array( htmlspecialchars($arSection["~NAME"]), $arSection["~SECTION_PAGE_URL"], $arResult["ELEMENT_LINKS"][$arSection["ID"]], array( "FROM_IBLOCK" => true, "IS_PARENT" => false, "DEPTH_LEVEL" => $arSection["DEPTH_LEVEL"], ), ); |
Код |
---|
$aMenuLinksNew[$menuIndex++] = array( htmlspecialchars($arSection["~NAME"]), $arSection["~SECTION_PAGE_URL"], $arResult["ELEMENT_LINKS"][$arSection["ID"]], array( "FROM_IBLOCK" => true, "IS_PARENT" => false, "DEPTH_LEVEL" => $arSection["DEPTH_LEVEL"], "DETAIL_PICTURE" => $arSection["DETAIL_PICTURE"], "ELEMENT_CNT" => $arSection["ELEMENT_CNT"], ), ); |