> do you mean my table names?
no
I'm assuming your orders table is:
Order
- id
- order_item_id
- order_note_id
- created
- modified
and you have in your order model
class Order extends AppModel {
var $name = 'Order';
var $hasMany = array(
'OrderNote' => array(
'className' => 'OrderNote',
'dependent' => true,
),
'OrderItem' => array(
'className' => 'OrderItem',
'dependent' => true,
)
);
}
is that correct?
cheers,
jon
--
jon bennett
w: http://www.jben.net/
iChat (AIM): jbendotnet Skype: jon-bennett
--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---