Sunday, December 5, 2010

Re: SessionComponent not always available

Answering my own question:

On Dec 5, 2010, at 21:08, Ryan Schmidt wrote:

> The documentation for $components says:
>
>
> http://book.cakephp.org/view/961/components-helpers-and-uses
>
> "The Html, Form, and Session Helpers are always available by default, as is the SessionComponent" however this appears to be false.

I think I got tripped up by the word "always" (which I would remove if I could edit the book), when I should have been paying attention to the words "by default". Since I've overridden the $components variable, I've overridden the defaults which thus no longer apply.


Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
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?hl=en

No comments: