Posted By

phpleo on 03/15/10


Tagged

symfony 14


Versions (?)

all request parameters in simple array


 / Published in: PHP
 

  1. $array = array();
  2. foreach ($request->getParameterHolder()->getAll() as $key => $value)
  3. {
  4. $array[$key] = $value;
  5. }
  6.  
  7. var_dump($array);

Report this snippet  

You need to login to post a comment.