Sanitize cleanArray can not be called statically in 1.1. That was part
of the reason for the switch to clean. Also in 1.1 cleanArray uses a
reference of whatever you pass it, so you do not have to do $this-
>data =.

To sum it up, in 1.1 using Sanitize you must create an instance, while
in 1.2 you can call it either statically or after creating the
instance.


--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to