Right solution ! I'll remember next time and I'll copy 100 times
"callbacks in behaviors take the model as the first argument" ;)
grigri a écrit :
> callbacks in behaviors take the model as the first argument:
>
> function afterFind(&$model, $results, $primary) {
> ...
> }
>
> On Jun 24, 4:51 pm, Marc MENDEZ <[EMAIL PROTECTED]> wrote:
>
>> You're right : that may help you ;>
>> Here is it :http://bin.cakephp.org/saved/33964
>>
>> francky06l a écrit :
>>
>>
>>> Yes, I need the URL of the bin after you posted it :-)
>>>
> >
>
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---