Answer the question
In order to leave comments, you need to log in
Question how to use listView for linked model?
There is a Categories model to it there is a Book connection hasmany connection through the book_catagory table (the model is formed)
this is how I get the category
$catagory = Category::find()->where(['id'=>$id])->wish('book')->one();
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question