Hi friends,
if you are yii devloper and using gii so please make sure you install giix-core
Just Add the Below Code
'import'=>array(
'application.models.*',
'application.components.*',
'ext.giix-components.*', // You need to import the giix component
),
'gii' => array(
'class' => 'system.gii.GiiModule',
'password'=>'.......',
'generatorPaths' => array(
'ext.giix-core', // giix generator
),
),
4375
http://stackoverflow.com/questions/13454630/how-to-run-giix-extension-in-yii----Refrences site
While i install the ext.giix-core it’s create the model and basemodel so if u have any changes in DB every time u can create the basemodel not a model
so it’s easy working and u can use method override.
Note: Please make sure you can not write any code in BaseModel