template::util::list_of_lists_to_array (public)

 template::util::list_of_lists_to_array lists array_ref

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

Converts a list of lists in the form { { key value } { key value } ... } to an array.

Parameters:
lists (required)
array_ref (required)

Partial Call Graph (max 5 caller/called nodes):
%3 callback::acs_mail_lite::incoming_email::impl::bug-tracker callback::acs_mail_lite::incoming_email::impl::bug-tracker (private) template::util::list_of_lists_to_array template::util::list_of_lists_to_array callback::acs_mail_lite::incoming_email::impl::bug-tracker->template::util::list_of_lists_to_array ref_countries::get_country_code ref_countries::get_country_code (public) ref_countries::get_country_code->template::util::list_of_lists_to_array

Testcases:
No testcase defined.
Source code:

    upvar $array_ref array

    foreach pair $lists {
        lassign $pair key value
        set array($key$value
    }
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: