Hi
I am defining a variable in my action class like this:

class myActions extends sfActions
{
public  $var
...

I assume that I have access to variable $var in any of my templates, but it
is not the case. The only thing I could do is to have $this->foo =
$this->var in my corresponding action function and access $foo in my
template.

Am I wrong that templates have access to all public variables defined in the
action class?



--Mohammad

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

Reply via email to