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?

1 Answer 1

3
$this->getRequest()->getParam('name_of_the_parameter')
1
  • 1
    Just that easy huh... Jan 28, 2015 at 18:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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