title: passing parameters to zend paginationControl partial
body: <p>I have a page that displays a lot of data, including Zend_Paginator.
  The page action is <code>/po/fetch?id=someID</code>.</p>
  
  <p>what i want to do is to pass the "id" parameter to zend paginationControl so the pagination links will be something like <code>/po/fetch?id=someID&amp;page=somePage</code>. unfortunally i can't find anywhere explanation on how i can pass that parameter to the paginationControl.</p>
  
  <p>my call to paginationControl:</p>
  
  <pre><code>echo $view-&gt;paginationControl($paginator, 'Sliding',$control, $params);
  </code></pre>
  
  <p>where <code>$params = array('id' =&gt; someID</code></p>
  
  <p>and my pagination partial is:</p>
  
  <pre><code>&lt;a href=&lt;?= $url.'&amp;page='.$this-&gt;first; ?&gt; id="first"&gt; First &lt;/a&gt;
  
  &lt;a href=&lt;?= $url.'&amp;page='.$this-&gt;previous; ?&gt; id="previous"&gt;&amp;lt; Previous&lt;/a&gt;
  
  &lt;?php 
  foreach($this-&gt;pagesInRange as $page) {
  ?&gt;
          &lt;a href="&lt;?= $url.'&amp;page='.$page; ?&gt;"&gt;.$page.&lt;/a&gt;  | ;
  &lt;?php 
  }
  ?&gt;
  
  &lt;a href=&lt;?= $url.'&amp;page='.$this-&gt;next;?&gt; id="next"&gt; Next &amp;gt;&lt;/a&gt;
  
  &lt;a href=&lt;?= $url.'&amp;page='.$this-&gt;last; ?&gt; id="last"&gt; Last &lt;/a&gt;
  </code></pre>
  
  <p>and I want <code>$url</code> to be of the specified form.</p>