Monday, February 28, 2011

Re: Can't Save to DB

On Feb 28, 2011, at 15:22, cricket wrote:

> $this->Episode->create();
> $this->Episode->set($episode);

Is that in the book? I'm having trouble finding it... searching for "create" gives me no method by that name, and searching for "set" gets me the "set" in the View class.

How is ...->create() and ...->set($episode) different from ...->save($episode)?


--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


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

No comments: