template::util::list_to_array (public, deprecated)
template::util::list_to_array values array_ref columns
Defined in packages/acs-templating/tcl/util-procs.tcl
Deprecated. Invoking this procedure generates a warning.
Converts a list of values into an array, using a list of corresponding column names for the array keys.
- Parameters:
- values (required)
- A list of values
- array_ref (required)
- The name of the array to create in the calling frame.
- columns (required)
- A list of column names to use for the array keys. The length of this list should be the same as the values list. DEPRECATED: as of August 2022 no OpenACS code is using this proc. The operation it implements can be easily achieved via plain Tcl idioms.
- See Also:
- array
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.