Yii for beginners 2

Comparing #38 with #39

Revision #39 was created by rackycz rackycz on Jul 27, 2015, 12:49:02 PM.

typos

Content

[...]
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;
}
```
[...]