title: Zend View Action Helper $params questions
body: <p>i am wondering by what method are the params of a zend view action helper passed by? <code>get</code> or <code>post</code>. is is becos i cant seem to access them via <code>$_GET</code> &amp; <code>$_POST</code> but i can with <code>$this-&gt;getRequest()-&gt;getParam("xxx")</code></p>
  
  <p>then i want to check if the variable exists 1st before using it so i did</p>
  
  <pre><code>$itemsPerPage = isset($this-&gt;getRequest()-&gt;getParam("itemsPerPage")) ? $this-&gt;getRequest()-&gt;getParam("itemsPerPage") : 5;
  </code></pre>
  
  <p>which fails with </p>
  
  <blockquote>
    <p>Fatal error: Can't use method return
    value in write context in
    D:\Projects\Websites\php\ZendFramework\LearningZF\application\controllers\IndexController.php
    on line 21</p>
  </blockquote>
  
  <p>i wonder whats wrong</p>