title: Accessing zend view variables from breadcrumb partial
body: <p>How can I access a variable that is defined in the actual view from a breadcrumb partial?</p>
  
  <p>I was trying with $this->myVar but I dont get anything.</p>
  
  <p>I also try this and it works:</p>
  
  <pre><code>$view = Zend_Layout::getMvcInstance()-&gt;getView();
  echo $view-&gt;myVar 
  </code></pre>
  
  <p>Is this correct or there's a better way?</p>