Global Helpers Miscellaneous Functions string controller model migrator migration tabledefinition
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);