Nats array flip
From TMM Wiki
Jump to navigationJump to searchThe printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
nats_array_flip
Runs PHP's array_flip from a Smarty function.
Alias: array_flip
Parameters
(Required parameters in bold)
Parameter | Description | Possible Values | Default Value | Example |
---|---|---|---|---|
array | The array to flip | Any initialized array | None. | array="my_array" |
assign | Store output in this variable | Any valid Smarty variable name | See output section below | assign="my_var" |
Output
None. Output stored in the {$array} variable or the variable name you set with the assign parameter.
Notes
None.
See Also
- array_flip -- PHP documentation for the PHP array_flip function.