Difference between revisions of "Nats array flip"
From TMM Wiki
Jump to navigationJump to searchm |
TMMStephenY (talk | contribs) m |
||
Line 41: | Line 41: | ||
== See Also == | == See Also == | ||
* [http://us.php.net/array_flip array_flip] -- PHP documentation for the PHP array_flip function. | * [http://us.php.net/array_flip array_flip] -- PHP documentation for the PHP array_flip function. | ||
+ | |||
+ | [[Category:NATS4 Template Functions]] |
Latest revision as of 15:41, 20 May 2011
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.