Runs PHP's array_flip from a Smarty function.
Article Topics: Smarty, Customization
(Required parameters in bold)
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"
None. Output stored in the {$array} variable or the variable name you set with the assign parameter.
Last updated 2 years ago
Was this helpful?