Answer the question
In order to leave comments, you need to log in
How to create a binding to an infoblock element? How to get SEO in the old core?
1) There are 2 information blocks questions and answers.
An answer is attached to a question through the element property (there can be several answers, so this is a multiple field)
I can attach answers to a question, but a question to an answer?
I need to implement an answer binding to a question.
2) $ipropValues = new \Bitrix\Iblock\InheritedProperty\ElementValues($arParams["IBLOCK_ID"], $arFields["ID"]);
$IPROPERTY = $ipropValues->getValues();
What is the analogue on the old kernel?
Answer the question
In order to leave comments, you need to log in
An answer is attached to a question through the element property
. I can attach answers to a question, but a question to an answer?
I need to implement an answer binding to a question.
you should have at least 3 tables, not 2
1) questions
2) answer options
3) answers that link to questions and options, to the user (or who answers there)
and for the old api, see the documentation
https://dev .1c-bitrix.ru/api_help/iblock/classes/c...
https://dev.1c-bitrix.ru/api_help/iblock/classes/c
... arSelectFields at least highloadblock
What is the analogue on the old kernel?
An answer is attached to the question through the element property (there can be several answers, so this is a multiple field)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question