S
S
Sergey Beloventsev2016-12-15 10:56:30
Yii
Sergey Beloventsev, 2016-12-15 10:56:30

How to use relationships in ArrayDataProvider?

Whether actually a question it is possible to use the connected data when using a sheaf ArrayDataProvider and ListView. And if so, how?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Fedorov, 2016-12-15
@Sergalas

ArrayDataProvider operates on the array you pass to it. An array can only contain data, it cannot contain links. The maximum that you can do is to load the data from the database with connections into an array and feed it to ArrayDataProvider

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question