sonic icon indicating copy to clipboard operation
sonic copied to clipboard

Add ability to get combined parameter in Controller

Open ccampbell opened this issue 13 years ago • 0 comments

Right now when you call $this->request()->getParam('whatever') in a controller it defaults to getting the router param or the param passed into the controller from another view/subview. You would do $this->request()->getParam('whatever', Request::GET) to get a parameter from $_GET etc.

It would be nice if there was some method that combined $_GET, $_POST, and router/controller variables together into a single method so you could just access any variable name without caring about where it came from.

ccampbell avatar Feb 24 '12 06:02 ccampbell