Hi all,
I've run into a weird problem.
I have two models, not directly related, but I need data from model A to
modify model B find results using ModelB::afterFind();
In model B, i use this:
$myModelA = ClassRegistry::init('ModelA');
this returns no error.
but when I do
$values = $myModelA->findById($valid_id_from_somewhere)
CakePHP fails to load page, but shows no errors.
Anybody have a clue?
thanks in advance...
--
Jacek
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---