Yes, of course it's in model. But validation occurs when saving data
in controller.

It would be nice if I could write:

if(this->save(data,{_use_another_validate_array}))
...

is there such possibility?

P.S. I wrote my question yesterday and it appeared in the group only
today :-\

On 2 Фев., 14:45, "Dr. Tarique Sani" <[EMAIL PROTECTED]> wrote:
> On 2/1/07, Sergei <[EMAIL PROTECTED]> wrote:
>
> > Can we have a different $validates array for different methods in a
> > controller?
>
> I am not sure I understand - $validates is in Model....
>
> Please elaborate what you want to do.


--~--~---------~--~----~------------~-------~--~----~
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