Skip to content

Global Helpers

obfuscateParam()

obfuscateParam() — returns string

Available in: controller, model, migrator Category: Miscellaneous Functions

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

NameTypeRequiredDefaultDescription
paramanyyesThe value to obfuscate.
// Obfuscate the primary key value `99`
newValue = obfuscateParam(99);