Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
$arSelect = Array();//IBLOCK_ID и ID обязательно должны быть указаны, см. описание arSelectFields выше
$arFilter = Array("IBLOCK_ID"=>IntVal($IBLOCK_ID), "ELEMENT_ID"=>$ELEMENT_ID);
$res = CIBlockElement::GetList(Array(), $arFilter, false, Array("nPageSize"=>1), $arSelect);
while($ob = $res->GetNextElement()){
$arFields = $ob->GetFields(); //параметры
$arProps = $ob->GetProperties(); //свойства
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.