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?
Page 1 of 1
Creating Models for a modules? It is possibile or it will be?
#3
Posted 24 November 2011 - 07:09 AM
Just use the model Path to specify it, for example, to create it under the 'user' module specify model path like
user.models
--
Extensions:
translate modue - module to handle translations
multiActiveRecord - db selection in models
redisCache - redis cache component
mpCpanel - interact with cpanel api
mUploadify - use uploadify uploader in your application
Gustavo Salomé Silva
Extensions:
translate modue - module to handle translations
multiActiveRecord - db selection in models
redisCache - redis cache component
mpCpanel - interact with cpanel api
mUploadify - use uploadify uploader in your application
Gustavo Salomé Silva
#4
Posted 26 November 2011 - 05:21 AM
#6
Posted 18 July 2012 - 01:28 PM
Well you should try to figure out this, create it under the 'user' module specify model path.
Share this topic:
Page 1 of 1

Help















