title: how do we pass data from controller to view in zend?
body: <p>I am starting in zend framework 1.11. How do we pass different $data value in view from controller to view like in codeigniter we pass like this.</p>
  
  <pre><code>$data['pass_one_thing'] = $this-&gt;model1-&gt;pass_all_mangoes();
  $data['pass_another_thing'] = $this-&gt;model2-&gt;pass_all_oranges();
  $this-&gt;load-&gt;view('viewfile', $data);
  </code></pre>
  
  <p>then in views we get values of $pass_one_thing and $pass_another_thing with foreach loops in same view file.</p>
  
  <p>how do i pass from different model function in a same view ? </p>
  
  <p>How do we get such thing in zend ? I am new to zend and bit confused.</p>