Hi there - under app/models I have Vehicle extending Model. I would now
like to create Car and Scooter, which should extend Vehicle.

I'm probably missing something really dumb, but I'm not sure what the
right way to include Vehicle is - trying the usual
include_once/require_once returns an error that Vehicle has already
been declared - however, without those, I get an error saying Vehicle
is undefined.

Tried to use $uses = array('Vehicle', 'Car') in the controller, but no
dice. Can anyone help?


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to