nats_array_flip

Runs PHP's array_flip from a Smarty function.

Article Topics: Smarty, Customization

Parameters

(Required parameters in bold)

Parameter
Description
Possible Values
Default Value
Example

array

The array to flip

Any initialized array

None.

array="my_array"

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.

Last updated

Was this helpful?