Created
February 22, 2020 18:37
-
-
Save Ginnw2/ca7fcc8add90824fd657124bbae375f0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$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