Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: PHP
Posted by: r52snip
Added: Aug 10, 2018 9:43 AM
Views: 7
  1. CModule::IncludeModule('iblock');
  2. $dbSect = CIBlockSection::GetList(Array("SORT"=>"ASC"), Array("ID"=>$arResult["VARIABLES"]["SECTION_ID"], "<=LEFT_BORDER" => $arResult["LEFT_MARGIN"], ">=RIGHT_BORDER" => $arResult["RIGHT_MARGIN"]), true);
  3. if($arSect = $dbSect->GetNext()) {echo $arSect["DESCRIPTION"];}