Return to v2.0 docs

obfuscateParam()


Global Helpers Miscellaneous Functions string controller model migrator


Obfuscates a value. Typically used for hiding primary key values when passed along in the URL.

Name Type Required Default Description
param any Yes The value to obfuscate.
// Obfuscate the primary key value `99`
newValue = obfuscateParam(99);

Related Functions

Miscellaneous Functions