A
A
aheles2021-12-23 17:37:36
1C-Bitrix
aheles, 2021-12-23 17:37:36

Bitrix getlist from a table how to make a restriction on the selection?

There is a getlist that gets records from the database:
61c4899ae4035965659308.png

$arRes = Models\WebinarHL::getList(array(
            'UF_USER_ID' => $USER_ID, //$USER_ID //38265
            '!UF_ID_ELEMENT' => $ELEMENT_ID,
            'UF_REG' => true,
            '!UF_LINK' => false,
            'UF_ACTIVE' => true
        ));

How to limit the selection so that it pulls out only 3 elements, and not all?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question