02-11-2011, 09:55 AM
[eluser]chefnelone[/eluser]
Hello,
I need some advice on this.
I have a site which has a front-end and and a back-end part.
I created a MY_Models file which I'm using to extend all models used in the back-end.
Now I'd like to extend the models used for the front-end to MY_Model too. But as I see, every time a fron-end model is called I'll loading all the functions which are nedded for the back-end. Plus, it's not clear to have all function in just one file.
Can I extend the front-end model to other model? This is: Can I have 2 MY_Models, one to extend back-end models and one to extend front-end models?
Hope someone understand what I mean.
Thanks
Hello,
I need some advice on this.
I have a site which has a front-end and and a back-end part.
I created a MY_Models file which I'm using to extend all models used in the back-end.
Now I'd like to extend the models used for the front-end to MY_Model too. But as I see, every time a fron-end model is called I'll loading all the functions which are nedded for the back-end. Plus, it's not clear to have all function in just one file.
Can I extend the front-end model to other model? This is: Can I have 2 MY_Models, one to extend back-end models and one to extend front-end models?
Hope someone understand what I mean.
Thanks