Hello
i have 2 models
Order hasMany Item
each model has his own Controller
- OrdersController
- ItemsController
in OrdersController i have a function like this
function orderCode_exists ($orderCode) {
//this function checks if the order exists
}
is there any way to call that function from ItemsController?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---