D
D
Dmitry Kiryushin2015-10-22 16:05:36
Yii
Dmitry Kiryushin, 2015-10-22 16:05:36

How to organize output of model dependencies via JSON?

There is a page listing the latest user logs.
I get logs via js request $http.get('/user/logs/') in JSON format
Additionally, I need to display the dependency of the logs, in this case I have a Task model. You may also need to infer the Task dependency of the Project model.
It does not come to mind how it can be organized.

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