title: Zend Framework: Route assemble and GET parameters
body: <p>In my Bootstrap I have </p>
  
  <pre><code>$route = new Zend_Controller_Router_Route(
      ':language/:country/:controller/:action/*', 
      array(
          'language' =&gt; 'en',
          'country' =&gt; 'us',
          'controller' =&gt; 'bicycle',
          'action' =&gt; 'index'
      ),
      array(
          'language' =&gt; '[a-z][a-z]',
          'country' =&gt; '[a-z][a-z]'
      )
  );
  </code></pre>
  
  <p>Somewhere in my view I have </p>
  
  <pre><code>echo $this-&gt;url(array('page'=&gt;2));
  //actually this translated to $route-&gt;assemble(array('page' =&gt; 2), null, false);
  </code></pre>
  
  <p>The problem, is when I have some GET parameters: they won't be considered in the building of the link, and this is what I actually want. </p>
  
  <p>Example:
  I access the URL (in the browser) </p>
  
  <pre><code>http://localhost/myproject/en/us/controller/action/?get1=gval1&amp;get2=gval2&amp;get3=gval3 
  </code></pre>
  
  <p>and the assembled URL is </p>
  
  <pre><code>http://localhost/myproject/en/us/controller/action/page/2 
  </code></pre>
  
  <p>INSTEAD of </p>
  
  <pre><code>http://localhost/myproject/en/us/controller/action/page/2/get1/gval1/get2/gval2/get3/gval3/ 
  </code></pre>
  
  <p>or (I would prefer the next one) </p>
  
  <pre><code>http://localhost/myproject/en/us/controller/action/page/2/?get1=gval1&amp;get2=gval2&amp;get3=gval3
  </code></pre>
  
  <p>Any ideas?</p>