$this->A->find('all', 'contain' => array( B ));
This way the afterFind() of model B is correctly called.
But when I write:
$this->A->find('all', 'contain' => array( B => C ));
the same afterFind() of model B is not called at all.
Possible bug? Same code works in 1.3.8 and 2.0.0-dev...
--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
No comments:
Post a Comment