Revision #39 has been created by rackycz on Jul 27, 2015, 12:49:02 PM with the memo:
typos
« previous (#38) next (#40) »
Changes
Title
unchanged
Yii for beginners 2
Category
unchanged
Tutorials
Yii version
unchanged
Tags
unchanged
yii, tutorial, beginner, MVC
Content
changed
[...]
2)
If you want to enable user to set different filters in the URL for both tables, it is very easy to enhance this example. The goal is to have different model-name, but the same logic. How to do it? .. Just create a second model that will extend the first model and will contain only 1 row.
```php
Class Model_closed extends YourModel
{
public $search_closed_value = 1;
}
```[...]