o.k. I pulled the trigger hehe.. $this->Brand->Product->Behaviors->Trigger(&$this->Brand- >Product,"afterFind",array('results'=>$queryResult,'primary'=>true));
thanks, On May 14, 10:42 am, Jon Bennett <jmbenn...@gmail.com> wrote: > Hi Paul, > > > it there a reason for it? am i missing something? > > Callbacks are not fired for models/behaviours when you use raw SQL. > > hth > > Jon > > > > > > > Best regards, > > > here some more extra info.. > > > brand model: > > public $hasMany = array('LineItem', 'Product' => > > array('className' => 'Product', > > 'dependent' => > > true)); > > > product model: > > public $belongsTo = array('Brand'); > > public $actsAs = array('Sap'); > > > sap behaviour : > > > function afterFind(&$model, $results, $primary){ > > ....... > > return $results; > > } > > -- > > jon bennett > w:http://www.jben.net/ > iChat (AIM): jbendotnet Skype: jon-bennett --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---