A
A
Andrey_Mirov2018-08-22 06:57:03
1C-Bitrix
Andrey_Mirov, 2018-08-22 06:57:03

How to use components in Bitrix in the D7 core and work with OOP?

Hello. Tell me, please, who can work with Bitrix on the D7 core.
I read a long time ago, when only developers released support for OOP - that the implementation of layout will happen differently. In D7, now the View is separate - the logic is separate. That is, if earlier the layout was rolled into the forich and a selection was made from the array - now the layout lies in a separate file untouched - and the logic is written separately. I can't find in the documentation or google how to do it. I found how to create components, but I didn’t find how to implement layout. Can you suggest where to read?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Zemlyanoy, 2018-08-22
@Andrey_Mirov

According to my data, the component in D7 differs only in writing the logic of the component in the class, everything else is more or less the same as before. The layout is still in template.php

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question