template::util::list_to_lookup (public)

 template::util::list_to_lookup values array_ref

Defined in packages/acs-templating/tcl/util-procs.tcl

Turn a list into an array where each key corresponds to an element of the list... Sort of like a sparse bitmap. Each value corresponds to the key's position in the input list.

Parameters:
values (required)
A list of values
array_ref (required)
The name of the array to create in the calling frame.

Partial Call Graph (max 5 caller/called nodes):
%3 test_util_list_to_lookup util_list_to_lookup (test acs-templating) template::util::list_to_lookup template::util::list_to_lookup test_util_list_to_lookup->template::util::list_to_lookup packages/categories/www/categories-browse.tcl packages/categories/ www/categories-browse.tcl packages/categories/www/categories-browse.tcl->template::util::list_to_lookup packages/categories/www/include/widget.tcl packages/categories/ www/include/widget.tcl packages/categories/www/include/widget.tcl->template::util::list_to_lookup template::element::options template::element::options (private) template::element::options->template::util::list_to_lookup template::paginator::get_data template::paginator::get_data (public) template::paginator::get_data->template::util::list_to_lookup template::paginator::get_query template::paginator::get_query (public) template::paginator::get_query->template::util::list_to_lookup

Testcases:
util_list_to_lookup
[ show source ]
Show another procedure: