Creating Models for a modules?

I’am studing “Extending Yii” from the coockBook. I’ve created the model:

>> model Wiki

And the model is created on my webapp. There is o there will be a way to create a model directly in a module folder like:

>> model wiki Wiki

>> model <module> <ModuleName>

or something like that?

There was a similar question which should help you with your problem

Gii: CRUD creation for module

Just use the model Path to specify it, for example, to create it under the ‘user’ module specify model path like


user.models

Easy and simple =)

http://blog.mbischof.de/yiic-shell

Well you should try to figure out this, create it under the ‘user’ module specify model path.