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):
- 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_nameXQL Not present: Generic, PostgreSQL, Oracle