subsite_navigation::get_section_info (public)

 subsite_navigation::get_section_info [ -array array ] \
    [ -navigation_multirow navigation_multirow ]

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

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

Switches:
-array (optional, defaults to "section_info")
-navigation_multirow (optional, defaults to "navigation")

Partial Call Graph (max 5 caller/called nodes):
%3 template::multirow template::multirow (public) subsite_navigation::get_section_info subsite_navigation::get_section_info subsite_navigation::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 $navigation_multirow {
        if { [string is true -strict $selected_p] } {
            array set row [list label $label url $url]
            break
        }
    }
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: