Answer the question
In order to leave comments, you need to log in
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.
Answer the question
In order to leave comments, you need to log in
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
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 questionAsk a Question
731 491 924 answers to any question