Hi All,
I'm coding a virtual rabbit pedigree app. (SL Ozimals system, doesn't really matter, the concept is simple)
Each bunny in my bunnies table can have a mother and a father, both members of that same bunnies table. Each bunny has a field "father_id" and "mother_id" which points back to a record of that same table.
Anny suggestions on how I'd code that? I see examples on the internet that code a system for one-parent, but nowhere for 2 parents.
I tried extending the Bunny model class to FatherBunny and MotherBunny, but got a bunch of errors, so I aborted that (guess general OOP practices don't apply to cake anymore cause it ain't pure MVC...)
If anyone can point me in the righti direction, that would be great.
thanks in advance,
Marv