Friday, March 11, 2011

Re: cakephp 2.0 will be like this to save the data?

Currently this isn't planned for 2.0, perhaps a future version.

-Mark

On Mar 10, 3:04 am, cake-learner <sh.koiz...@gmail.com> wrote:
> I hope we can do this oop way pretty soon to save data not the
> array( which cost me a lot of time to debug )
>
> $obj = new myObject();
> $obj -> name = 'myname';
> $obj -> save();
>
> $obj = myObject::load(id);
> $obj -> save();

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

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate