Some of our model files have become very large, and I am tasked to split up functionality into separate modules.
I am not sure if it possible to use multiple model classes which are declared in different Modules for the same table?
I have tried using different classes in different modules and it seems to work, aside from being careful which model class i have to call, however I am not sure if this is a good practice, or will there be any complications i need to worry about.
The documentation is little vague in this regard
My current model is declared in protected/models/MyModel.php
I wish to split this into
protected/modules/Moduel1/models/MyModel.php
and
protected/modules/Moduel2/models/MyModel.php
EDIT: Clarified the question with more details.