title: Zend Framework, getParams -> setParams
body: <p>I'm new with Zend Framework but i didn't find solution yet. Problem is next:
  I have form, when is submitted user goes to index controller and there is an add action. I know how i can get params, This is what i want do:</p>
  
  <pre><code>$clear = $this-&gt;getRequest()-&gt;getParams();
  foreach ($clear as $key =&gt; $value) {
      $clear[$key]=trim(strip_tags($value));
  }
  $this-&gt;setRequest()-&gt;setParams($clear);//error, Argument 1 passed to Zend_Controller_Action::setRequest() must be an instance of Zend_Controller_Request_Abstract
  </code></pre>
  
  <p>So question is how to change in whole page that params, so if i want anywhere access that data i could be sure that they are safe. And is it possible to change that params only to index controller. Thanks in advance!</p>