Stu, that would be one way but I suggest save yourself a whole load of
hassle and use the existing logable behavior addon:

http://code.google.com/p/alkemann/wiki/LogableBehavior
http://bakery.cakephp.org/articles/view/logablebehavior

I have used it in a recent app and it works really very nicely indeed.

Chris

On Jun 10, 8:39 pm, Stu <[email protected]> wrote:
> ps:
>
> I was thinking of adding the logic here:
>
> app_model.php
> ----------------------
>
> afterSave($created){
>   if(!$created){
>     //logic goes here
>   }
>
> }
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to