Difference between #38 and #39 of
Yii for beginners 2

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;
}
```
[...]
15 0
21 followers
Viewed: 85 437 times
Version: 1.1
Category: Tutorials
Written by: rackycz
Last updated by: rackycz
Created on: Mar 5, 2013
Last updated: 2 years ago
Update Article

Revisions

View all history