Nats decode
From TMM Wiki
Jump to navigationJump to searchApplies to NATS 4.0.25 and greater.
nats_decode
Decodes a linkcode into a Smarty array.
Parameters
(Required parameters in bold)
Parameter | Description | Possible Values | Default Value | Example |
---|---|---|---|---|
nats | The linkcode to be decoded. | Any valid linkcode for this NATS installation. | None. This parameter is required | nats="http://nats4.example.com/track/OC4xLjEuMS4wLjAuMC4w" |
assign | Array name to store the decoded linkcode. | Any valid Smarty array name | decoded | assign="myarray" |
assign_prefix | Prefix output variables with this word. (Click link for details) | Any valid Smarty variable name | None. (No prefix is used) | assign_prefix="myvar" |
Output
Output is stored in an array with the same structure as the parameters in nats_encode.
Notes
None.
See Also
- nats_encode -- make a NATS linkcode.