Well, if all you want to do is trim (ie remove white space from start
and end), I would just do it manually (loop over the
$this->params['data'] array).

But, if you really want to just ensure that what is being submitted is
clean, then I suggest you use Sanitize::cleanArray

http://manual.cakephp.org/chapter/13


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to