Answer the question
In order to leave comments, you need to log in
Why doesn't CIBlockElement::getList return IBLOCK_SECTION?
I make a request to the API to get the elements of the infoblock (well, in this particular example).
\Bitrix\Main\Loader::includeModule("iblock");
$rItems = \CIBlockElement::getList(array("SORT" => "ASC"),
array(
'ID' => intval($elId),
'IBLOCK_ID' => intval($iblockId),
));
print_r($rItems->Fetch());
Answer the question
In order to leave comments, you need to log in
Why is this array not coming?
In what cases does this IBLOCK_SECTION field come at all? It's in the documentation...
How to get a list of all sections to which this element is tied?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question