On Thu, Jan 20, 2011 at 5:55 PM, carlos pascual <[email protected]> wrote:
> Hola amigos, tengo una duda con CakePHP, ya que el manual me lia un
> poco.
> Es lo mismo poner:
>
>           $this->params["data"]["modelo"]["campo"]
>
> que poner estro otro:
>
>           $this->data["modelo"]["campo"]
>

Mostly, I think it's a convenience. $this->data is created from
$this->params['data']. It's simpler to work with $this->data when it
comes to filling in form fields, validating, saving, etc.

-- 
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
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to