Are you saying you want two models to handle the data from one table ? Seems like you'd have to jump through a lot of hoops to do that.
What benefit do you expect for doing this ? On Dec 27, 7:22 am, Fahad <[email protected]> wrote: > hi, > > i am currently trying to manipulate a database with way too many > relations. i wont make it complex for you, so here is a very > simplified example: > > my table (animals): > ================ > id, type, title > 1, big, elephant > 2, big, giraffe > 3, small, cat > 4, small, dog > ================ > > what i want to do is to have two models "Big" and "Small". > "Big" model will only take care of animals with type 'big' (elephant > and giraffe), > and "Small" model will take care of animals with type 'small' (cat and > dog). > > is it possible to do? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" 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?hl=en -~----------~----~----~----~------~----~------~--~---
