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 21, 2018 1:57 PM
Modified: Aug 21, 2018 2:30 PM
Views: 5
  1. <?
  2. CModule::IncludeModule("iblock");
  3. $arFilter = Array('IBLOCK_ID' => $arParams['IBLOCK_ID'], "ID"=>$arResult['ID']);
  4. $db_list = CIBlockSection::GetList(Array(), $arFilter, true, array("UF_*"));
  5. if ($ar_result = $db_list->GetNext()): ?>
  6.     <?$arResult['CUSTOM_PROPERTIES'] = $ar_result;?>
  7. <? endif; ?>