You can do debug($this->_viewVars); I think. Mark Somerville schrieb: NickCarlson wrote:If I do the following in my controller:$this->set('myVar', 2006); How would I access the value of myVar from within my controller? For example, for debugging purposes, I just want to write the following code within my controller, echo $myVar;It is very annoying that you can't do this. Mark --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~--- |
- Re: Simple question about $this->set Vanchuck
- Re: Simple question about $this->set Mark Somerville
- Re: Simple question about $this->s... Felix Geisendörfer
- Re: Simple question about $this->s... nate
- Re: Simple question about $this-&... Larry E. Masters aka PhpNut
- Re: Simple question about $th... nate
- Re: Simple question abou... Bert Van den Brande
- Re: Simple question ... Larry E. Masters aka PhpNut
- Re: Simple question ... nate
- Re: Simple quest... Bert Van den Brande
- Re: Simple quest... John Zimmerman
- Re: Simple quest... Bert Van den Brande