Tuesday, April 27, 2010

Re: models save

Having done the same as you, I would say that the data is only saved,
but a lot of processing takes place depending on whether the data
contains related data. Before the actual save is performed, the
beforeSave callback is invoked, as well as the afterSave callback is
invoked after the save is performed.
Enjoy,
John

On Apr 27, 1:07 pm, emanuele <emanuel...@gmail.com> wrote:
> Hi guys,
>  going through the code I can't really figure out how the model->save method
> works. Are data  only pre-processed or are they both pre-processed and saved
> (maybe a query)?
> thanks in advance
>
> --
> Emanuele Gringeri
> Computer Engineer
> University of Pisa
> Be my mirror, my sword and shield
>
> Check out the new CakePHP Questions sitehttp://cakeqs.organd help others with their CakePHP related questions.
>
> 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
> cake-php+unsubscribe@googlegroups.com For more options, visit this group athttp://groups.google.com/group/cake-php?hl=en

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

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
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

No comments: