In a model product have following fields. product_id, name, description, price. Another model product_rating have 2 fields. id, product_id, rating. The rating of a product stored in 2nd table. i added search functionality to this product table. The search keyword compare with name or description. The result showing correctly. Most of the case showing multiple result, so i want to add filter in result view - radio button list for filtering. The radio button list shows the values of product_rating table. How it possible in Yii?