What is the reason for using create in cake 1.2
I am using cake 1.2 because it seems to have a lot of extra
functionality, however i am making an application with information i
learned from tutorials taht were for 1.1.
I have updated my forms to use FormHelper instead of the html helper
methods.  And i read someone say that the new cake uses create. I
would guess that creates the object first or something.  for instance,
i have some code:

if ($this->User->save($this->data['User']))
                        {
                                $this->flash('Your user information has been 
updated.','/users');
                        }
}

would i do a create and then a save? It seems to work as is, but i'm
wondering what the reason for using create before save would be.
Thanks in advance.


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