getUrlParam

geturlparam

  • By paulmerchant
  • Latest release October 29, 2010 (16 years ago)

About

getUrlParam returns the value of a URL parameter. The simple snippet uses PHP's $_GET and runs a FILTER_SANITIZE_STRING on any strings passed to sanitize the value. Options include allowing only integers and setting a maximum size.

Installation & usage

Install with the Package Manager.

At a glance

MODX 3 compatible.

  • Developer paulmerchant
  • Latest release October 29, 2010 (16 years ago)
  • First seen in SiteDash October 28, 2010 (16 years ago)
  • License MIT
  • MODX support 2.0 – 100.0

Releases 1 indexed release

Changelog
MODX.com

1.0-beta1

October 29, 2010

16 years ago

—

We've also seen 1 unverified version of getUrlParam in use, but don't list those as we've been unable of confirming they are official releases from an official source.