[fw-general] how to isolate $_GET or $_POST params from the rest of request

2009-05-22 Thread Guillaume Oriol
Hi, The Zend_Controller_Request_Http class merges all request parameters (those from the path and those from the query part) into one unique set. I guess this was done on purpose because of the parameters written in the path. But sometimes, it would be useful to get only query parameters (after

Re: [fw-general] how to isolate $_GET or $_POST params from the rest of request

2009-05-22 Thread Brenton Alker
Guillaume Oriol wrote: Hi, The Zend_Controller_Request_Http class merges all request parameters (those from the path and those from the query part) into one unique set. I guess this was done on purpose because of the parameters written in the path. But sometimes, it would be useful to get

Re: [fw-general] how to isolate $_GET or $_POST params from the rest of request

2009-05-22 Thread Guillaume Oriol
If you know the parameter name, then you are right. But I was looking for a method to get the complete array of query parameters. After reading your answer, I looked into ZF code and discovered the method would return the array I was looking for when no parameter was given. So, thank you for

Re: [fw-general] how to isolate $_GET or $_POST params from the rest of request

2009-05-22 Thread till
On Fri, May 22, 2009 at 3:14 PM, Guillaume Oriol gor...@technema.fr wrote: If you know the parameter name, then you are right. But I was looking for a method to get the complete array of query parameters. After reading your answer, I looked into ZF code and discovered the method would return