got that... Need to set soem field as invalid using Model::invalidate so
that the save aborts..

By I have another query now.. How do i fetch records saved to DB after
saveAll.

Thanks.

On Sun, Sep 21, 2008 at 8:23 PM, Novice Programmer <[EMAIL PROTECTED]
> wrote:

> Hello guys,
>
> in some cases i want to abort saving in beforeValidate callback. I have
> returned false in that case, but i am not able to abort saving, it still
> continues to save the record. Any ideas on what it can be?
>
> --
> Thanks & Regards,
> Novice.
>



-- 
Thanks & Regards,
Novice.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
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