ModelA hasMany ModelB ModelB actsAs SomeBehavior SomeBehavior defines afterFind()
ModelAController::someAction() has: $this->ModelA->recursive = 1; $this->ModelA->findAll(); Will SomeBehavior::afterFind() be triggered for ModelB, since ModelB will be retrieved via association to ModelA? So far in my testing, the afterFind on the behavior does not seem to be called. Is this normal? Is this on purpose? The $primary argument in behavior functions would seem to suggest that the behavior functions should still be called even if the model acting as the behavior is being queried as a result of an association. I may be confused on this, though. Any help? -- Joshua Benner http://bennerweb.com --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
