title: How do you output the Zend pagination control outside of the view?
body: <p>I'm creating a wrapper class in the Zend framework to encapsulate some data output and the pagination control.</p>
  
  <p>How do I output this line from the view in the controller:</p>
  
  <pre><code>&lt;?= $this-&gt;paginationControl($this-&gt;oPaginator, 'Sliding', 'pagination-control.phtml')?&gt;
  </code></pre>
  
  <p>Thanks in advance.</p>
  
  <p>...Answered my own question:</p>
  
  <pre><code>$this-&gt;view-&gt;oPaginator = $this-&gt;oPaginator;
  echo $this-&gt;view-&gt;paginationControl($this-&gt;view-&gt;oPaginator, 'Sliding', 'pagination-control.phtml');
  </code></pre>