How do I create CRUD code inside a module using gii or yiic?
or
How do I create CRUD code inside a module?
I am waiting for your reply.
Thanks. ![]()
How do I create CRUD code inside a module using gii or yiic?
or
How do I create CRUD code inside a module?
I am waiting for your reply.
Thanks. ![]()
Getting Started: Implementing CRUD Operations
Model class / Controller ID in gii CRUD generator have to be "moduleName.yourName".
Look at the preview code to see the exact path where the files would be generated.
Totally great title. ![]()
I totally agree ![]()
I don’t understand can you please explain?
E.g.:
ModelClass: user
ControllerID: admin.user
UserController would be created into admin module
OK! Thats right Buttttt
How do i generate model in the respected module with gii.
for example:
Suppose i have a module named ‘admin’
i want to generate
model, CRUD code