subsite::get_section_info (public)

 subsite::get_section_info [ -array array ] \
    [ -sections_multirow sections_multirow ]

Defined in packages/acs-subsite/tcl/subsite-procs.tcl

Takes the sections_multirow and sets the passed array name with the elements label and url of the selected section.

Switches:
-array
(defaults to "section_info") (optional)
-sections_multirow
(defaults to "sections") (optional)

Partial Call Graph (max 5 caller/called nodes):
%3 packages/acs-subsite/www/group-master.tcl packages/acs-subsite/ www/group-master.tcl subsite::get_section_info subsite::get_section_info packages/acs-subsite/www/group-master.tcl->subsite::get_section_info template::multirow template::multirow (public) subsite::get_section_info->template::multirow

Testcases:
No testcase defined.
Source code:
    upvar $array row
    # Find the label of the selected section

    array set row {
        label {}
        url {}
    }

    template::multirow foreach $sections_multirow {
        if { [string is true -strict $selected_p] } {
            set row(label) $label
            set row(url) $url
            break
        }
    }
XQL Not present:
Generic
PostgreSQL XQL file:
packages/acs-subsite/tcl/subsite-procs-postgresql.xql

Oracle XQL file:
packages/acs-subsite/tcl/subsite-procs-oracle.xql

[ hide source ] | [ make this the default ]
Show another procedure: