Difference between #2 and #3 of
Auto set model fields values

Changes

Title unchanged

Auto set model fields values

Category unchanged

Tutorials

Yii version unchanged

Tags unchanged

CActiveRecord, auto set, database, fields, MasterAdmin

Content changed

[...]
public $baseClass='MasterAdmin';
```

Now, no need to write any code code for above mentioned 4 fields, MasterAdmin model will take care of it.

You can check more admin panel related help at [HERE](http://www.yiiframework.com/wiki/353/working-with-cgridview-in-admin-panel/ "Admin")
 
 
Happy Coding! :)
5 0
11 followers
Viewed: 31 649 times
Version: 1.1
Category: Tutorials
Written by: vibhaJadwani
Last updated by: vibhaJadwani
Created on: Jul 18, 2012
Last updated: 12 years ago
Update Article

Revisions

View all history