S
S
Sergey Beloventsev2016-07-16 17:33:23
Yii
Sergey Beloventsev, 2016-07-16 17:33:23

Is it possible to use three models in ActiveDataProvider?

I'm trying to organize a search filter for several models. I have three models Film, Mfilm, Serial, is it possible to use them in any of the providers and how (if there are links it would be just great).

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Evgeny Bukharev, 2016-07-16
@Sergalas

ActiveDataProvider works with one model, you need to look towards another provider, Sql or Array

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question