Hi everyone,
I ran into a bit of a problem this morning that I cant get my head
around.

For several bad reasons there are a few tables I am working with that
have duplicates with the same structure but different data. It is a
legacy database I can't start messing with too much.

I wanted to avoid duplicating the View-files and Controller. My idea
was to Inherit the Controller and just sort of "rename" the Model so
that all the references still work.

The problem is that I can make the references in the controller work
quite well... But all array_indexes the model returns still have the
original Model name. There are probably more pitfalls I have not even
come close to.

So, is there a good way for a ModelTwo to represent itself as ModelOne
to the controller and Views?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to