A
A
Alexander2018-06-10 01:15:36
Yii
Alexander, 2018-06-10 01:15:36

How to accept "product filter" parameters in Yii 1.1 controller?

Hello. I got a project on yii 1.1. I have little experience with frameworks.
Situation: in an online store on the product category page there is a filter :
site.ru/wrist-watch/?price_start=888&price_end=&brand=adriatica parameters in the controller (how to collect them for passing to the constructor of the ProductFilter object, because there can be a lot of them)? Thanks in advance.

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