template::wizard::get_wizards_levels (private)

 template::wizard::get_wizards_levels

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

internal helper proc to get the different levels of wizards from current to parent

See Also:

Partial Call Graph (max 5 caller/called nodes):
%3 template::wizard::get_wizards template::wizard::get_wizards (private) template::wizard::get_wizards_levels template::wizard::get_wizards_levels template::wizard::get_wizards->template::wizard::get_wizards_levels template::wizard::submit template::wizard::submit (public) template::wizard::submit->template::wizard::get_wizards_levels

Testcases:
No testcase defined.
Source code:
    variable parse_level
    set level [expr {$parse_level - 1}]

    set levels {}
    for {set i $level} {$i > 1} {incr i -1} {
        upvar #$i wizard:name parent_wizard
        if {[info exists parent_wizard]} {
            lappend levels $i
        } else {
            break
        }
    }

    return $levels
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: