Sunday, July 22, 2012

Re: how does comunicate Model View Controller

The controller object has a member object called User. $this is the
controller and $this->whatever represents a member object.

http://php.net/manual/en/language.oop5.php

On Sun, Jul 22, 2012 at 1:44 PM, and <andreaesposito77@gmail.com> wrote:
> Hi all,
> i am reading a tutorial found on ibm developerswork.I have found this line:
> $this->User->save(.....);
> $this is the UserController.Why there is User?User is the name of the
> Model.Can someone explain me better what it means?
>
> --
> 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

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