On Sep 15, 10:12 pm, "Chris Hartjes" <[EMAIL PROTECTED]> wrote: > You can't use $this-><Model name here> inside another model.
At the risk of starting a pie fight, the above isn't true. If your associations are setup such that from a controller you are able to do: $this->Post->User->findById($id); That is exactly the same as the following when executed in a model method: $this->User->findById($id); hth, AD --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
