I
I
itemashabanov2021-01-14 18:13:13
SQL
itemashabanov, 2021-01-14 18:13:13

How to get the properties of the elements of the Bitrix section?

Hello. Can you tell me how to get its properties by the section ID, which are indicated in the "Element Properties" tab on the section editing page? Can eat a variant by means of SQL to receive them? Attached a screenshot.
60005f734b3cd226660278.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
P
PetrPo, 2021-01-14
@itemashabanov

You open the Bitrix ORM documentation, in your specific case , study this section , then find the class you need, in your case /bitrix/modules/iblock/lib/sectionpropertytable.php and the question will be settled
. Data\DataManager means that there is a getList method, it is inherited

I
itemashabanov, 2021-01-14
@itemashabanov

Well, I understand how to get them straight from the database, but there must be a ready-made method for this?

SELECT PROPERTY_ID FROM b_iblock_section_property
WHERE SECTION_ID = 404 # ID нужного раздела

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question