title: zend framework get a variable from the controller to view
body: <p>I'm new to zend and OOP in general. I have a indexAction with a variable that I need to pass to the view. I've declared the variable as public and I thought I could then get the variable in the view using <code>$this-&gt;variable</code> but it doesn't work.</p>
  
  <p>How do I pass a variable from indexAction to the view?</p>