D
D
dblearn942020-01-21 16:01:25
PHP
dblearn94, 2020-01-21 16:01:25

Is the Proxy template suitable for this task?

There are 2 models, to work with a third-party component, you need to combine them and work with it already (read-only).
More:
There are models:
- Category
- Category information
They are related.
There is a "tree output" component that works with 1 model, the data for its operation is contained in both models.
Accordingly, I need to combine them and pass them to the component, did I choose the "Proxy" template correctly?
PS I have a strong feeling that I'm "trying to apply a template, only to apply a template" , is it needed here at 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