Skip to content

Instantly share code, notes, and snippets.

Ginnw@ Ginnw2

Block or report user

Report or block Ginnw2

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View Элемент по ID
$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(); //свойства
}
You can’t perform that action at this time.