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
-~----------~----~----~----~------~----~------~--~---

Reply via email to