template::list::orderby::get_reference (public)

 template::list::orderby::get_reference -list_name list_name \
    -orderby_name orderby_name [ -local_name local_name ] [ -create ]

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

Build a local reference to an orderby filter for a named list template.

Switches:
-list_name (required)
-orderby_name (required)
-local_name (optional, defaults to "orderby_properties")
-create (optional, boolean)

Partial Call Graph (max 5 caller/called nodes):
%3 template::list::multirow_cols template::list::multirow_cols (public) template::list::orderby::get_reference template::list::orderby::get_reference template::list::multirow_cols->template::list::orderby::get_reference template::list::orderby::create template::list::orderby::create (public) template::list::orderby::create->template::list::orderby::get_reference template::list::orderby::get_property template::list::orderby::get_property (public) template::list::orderby::get_property->template::list::orderby::get_reference template::list::orderby::set_property template::list::orderby::set_property (public) template::list::orderby::set_property->template::list::orderby::get_reference template::list::orderby_clause template::list::orderby_clause (public) template::list::orderby_clause->template::list::orderby::get_reference template::adp_level template::adp_level (public) template::list::orderby::get_reference->template::adp_level template::list::get_reference template::list::get_reference (public) template::list::orderby::get_reference->template::list::get_reference template::list::orderby::get_refname template::list::orderby::get_refname (public) template::list::orderby::get_reference->template::list::orderby::get_refname

Testcases:
No testcase defined.
Source code:
    # Check that the list exists
    template::list::get_reference -name $list_name

    set refname [get_refname -list_name $list_name -orderby_name $orderby_name]

    if { !$create_p && ![uplevel #[template::adp_level] [list info exists $refname]] } {
        error "Orderby '$orderby_name' not found in list '$list_name'"
    }

    uplevel upvar #[template::adp_level$refname $local_name
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: