L
L
LevinAlex2016-01-04 18:49:44
1C-Bitrix
LevinAlex, 2016-01-04 18:49:44

How to get the parameters of another component from your Bitrix module?

Hello!
The question at first seemed simple, but for the whole day the solution was not found.
In general, I am writing a module for Bitrix, in which I need to get the value of the FILTER_NAME parameter from the arParams of the bitrix:catalog component . I have no idea
how to do this. The arParams array is available only inside this component, but it turns out that I need to somehow "see" this setting from a third-party module.
Maybe someone can suggest something? I already thought about pulling it out with a direct query from the database to the table b_component_params

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey, 2016-01-05
@gangstarcj

If, for example, a variable is set in the catalog template and then used in the
<?
$GLOBALS["filter"] = $arParams["FILTER_NAME "];
?>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question