I'm trying to follow the structure of CakePHP but I don't know where
to put a utility function that I would like to call to filter certain
fields in more than one Model.

The utility function filters most HTML tags, but allows some safe ones
like <b> etc. and replaces newlines with <br>.

I want to call this utility function in the beforeSave() in more than
one Model. So where is the proper place to put it? It's not a behavior
(I don't think).

Thanks,
Ken
--~--~---------~--~----~------------~-------~--~----~
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