Gii Crudcode Object Access The Model Of Our Input

Hi everyone!

i’m trying to modify my gii… that’s legal isn’t it??

I’m trying to modify crud form generator so that the generator will generate form for current relational model…

i can do that if i modify the CActiveFormWidget, but it dont generate the code to the _form file…

so i need to modify the form by gii CRUD generator.

how do i access and create/instantiate the Model supplied by our input?

I could only get the Model class name… What i need is the model it self…