D
D
Dmitry Kiryushin2015-10-17 10:14:00
Yii
Dmitry Kiryushin, 2015-10-17 10:14:00

How to do sorting and filtering in Yii2?

Please help yii2 geeks.
There is a model Project , and in the action of the controller ProjectController I get all the objects:
$projects = Project::find()->all() and display it all on the view index. How to filter by certain attributes?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Zhukov, 2015-10-17
@dmitriykiryushin

www.yiiframework.com/doc-2.0/yii-db-baseactivereco...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question