I want to create two different models with same name within two different modules. Is this allowed? How does Yii know what to call when calling something like
ModelName::model()->findAll();
I want to create two different models with same name within two different modules. Is this allowed? How does Yii know what to call when calling something like
ModelName::model()->findAll();
You may want to look into using namespaces:
http://www.yiiframework.com/doc/guide/1.1/en/basics.namespace#namespace