How To Regenerate Model And Crud Programmatically

Hi all,

I need to regenerate a model and part of crud programmatically because users can create/modify/delete columns from the table using the Yii application.

Is there any way to call the regeneration (with file overwrite) of model and part of crud within a controller and not passing trough the normal gii form?

ty in advance


hi cinocino , i have the same need :) did you find a solution ? please share with me :) thanx in advance

I am looking into this too, anyone mind to share?:)