Re: $this->params['data'] vs. $this->data

2006-04-08 Thread nate

Same thing.  We just added support for $this->data in helpers, so you
can use it instead of $this->params['data']. I like it better because
it's less typing.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~--~~~~--~~--~--~---



$this->params['data'] vs. $this->data

2006-04-08 Thread brandags

What is the difference between $this->params['data'] and $this->data in
the controller. They look like they contain the same thing. Is one
deprecated? Just wondering which I should be using.

Thanks.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~--~~~~--~~--~--~---