1

Below is a section of our URL.

...&dir=asc&limit=20&np=1&order=price&product_applications_year=710&product_type=623

I need to search this string for various things like 'limit' or 'product_type' or 'order' and retrieve the conents of that thing after the '='.

How is this possible?

| improve this question | | | | |
3
$this->getRequest()->getParam('name_of_the_parameter')
| improve this answer | | | | |
  • 1
    Just that easy huh... – easymoden00b Jan 28 '15 at 18:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.