My bad.

Good thing I asked him to do new Sanitize() and then pr

-MI

---------------------------------------------------------------------------

Remember, smart coders answer ten questions for every question they ask. 
So be smart, be cool, and share your knowledge. 

BAKE ON!

blog: http://www.MarianoIglesias.com.ar


-----Mensaje original-----
De: [email protected] [mailto:[EMAIL PROTECTED] En nombre
de gwoo
Enviado el: Martes, 13 de Marzo de 2007 09:27 p.m.
Para: Cake PHP
Asunto: Re: email form

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