Hi. I need to share some code between models. The logical way to do it is to put the code in a model and have the others extend it. The problem is that in child models i have no way of ensuring that the base model is loaded before child models. I tried loadModel() but since it uses require instead of require_once i get an error saying that i can't redefine the class.
How can i do this? Thanks in advance. -- Gonçalo Marrafa <[EMAIL PROTECTED]> --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php -~----------~----~----~----~------~----~------~--~---
