P
P
Pavel Sidorov2021-01-19 10:56:47
1C-Bitrix
Pavel Sidorov, 2021-01-19 10:56:47

How to access the "list" type property in Bitrix?

Guys, tell me.
I want to change the sorting of property values ​​of the list type in Bitrix, but not by hand through the infoblock settings, but somewhere in init.php or just in the php file at the root of the site.
there are a couple of values ​​in this property
1
2
3
4

How to get access to them . mb api

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
ettaluni, 2021-01-19
@pavel__sidorov

arParams - an array of component properties, catch it before executing the component.php code and re-define it. And it's easier to do sorting in tamplate.php as needed

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question