cake-php@googlegroups.com
[Top] [All Lists]

Re: SessionComponent not always available

Subject: Re: SessionComponent not always available
From: Ryan Schmidt
Date: Sun, 5 Dec 2010 21:16:02 -0600
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@xxxxxxxxxxxxxxxx
To unsubscribe from this group, send email to
cake-php+unsubscribe@xxxxxxxxxxxxxxxx For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

<Prev in Thread] Current Thread [Next in Thread>