Hello,
I have a method in a model and want to read values from another model in
a method.
Model: Hotel
function getanothermodelsvaules($othermodelid){
//some code
$othermodel =
$this->requestAction($this->othermodels/getMyValues/'.$othermodelid);
//some more code
}
Question: Is this complete nonsense? Can / Should I do it this way?
Thank you
Anja
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---