Snippets

Create an account or login to be able to add, comment and rate snippets.

Navigation

Get all request parameters from a template

This shortcut is useful to get in an array the module, action and request parameters from any templates.

$tab = array();
$tab = $this->getRequest()->getParameterHolder()->getAll();

:)

by julien levasseur on 2007-07-21, tagged parameters  request 
You need to create an account or log in to post a comment or rate this snippet.