Home
The Toolkit for Online Communities
15899 Community Members, 0 members online, 2486 visitors today
Log In Register

template::util::list_to_array

OpenACS Home : ACS API Browser : template::util::list_to_array

template::util::list_to_array (public)

template::util::list_to_array values array_ref columns
Defined in packages/acs-templating/tcl/util-procs.tcl

Converts a list of values into an array, using a list of corresponding column names for the array keys.

Parameters:
values - A list of values
array_ref - The name of the array to create in the calling frame.
columns - A list of column names to use for the array keys. The length of this list should be the same as the values list.
[ show source ]
Show another procedure: