CIBlockProperty - uniqcle/Bitrix GitHub Wiki
CIBlockProperty
//Из свойства Производитель получаем массив значений
function getArrSection($arSection){
$db_enum_list = CIBlockProperty::GetPropertyEnum(
"CML2_MANUFACTURER",
Array(),
Array("IBLOCK_ID"=>24, "XML_ID"=>$arSection['CODE']));
while($obj = $db_enum_list->Fetch() ){
//$ar_enum_list = $obj->GetFields();
return $obj;
}
}
$arEnumValueSection = getArrSection($arSection);