A
A
Anton2017-08-26 14:33:28
1C-Bitrix
Anton, 2017-08-26 14:33:28

How to display an array of properties of all infoblock elements in Bitrix?

There is infoblock 34, it has a lot of elements, the element has a string type property with ID 676 and character code TIME.
How to get such an array from the values ​​of this property, so that it is like this:
white, blue, green, yellow ......

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ilya, 2017-08-26
@rpsv

CIBlockElement::getList([], ["IBLOCK_ID" => 34], false, false, ["ID", "PROPERTY_TIME"]);

This is a list of element property values, not a list of possible property values.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question