template::list::multirow_cols (public)

 template::list::multirow_cols -name name

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

Get the list of columns to order by, if ordering in web server. Otherwise returns empty string.

Switches:
-name (required)
List name

Partial Call Graph (max 5 caller/called nodes):
%3 template::list::prepare_for_rendering template::list::prepare_for_rendering (private) template::list::multirow_cols template::list::multirow_cols template::list::prepare_for_rendering->template::list::multirow_cols template::list::get_reference template::list::get_reference (public) template::list::multirow_cols->template::list::get_reference template::list::orderby::get_reference template::list::orderby::get_reference (public) template::list::multirow_cols->template::list::orderby::get_reference

Testcases:
No testcase defined.
Source code:
    # Get an upvar'd reference to list_properties
    get_reference -name $name

    if { $list_properties(orderby_selected_name) eq "" } {
        return {}
    }

    template::list::orderby::get_reference -list_name $name -orderby_name $list_properties(orderby_selected_name)

    set result [list]
    if {$list_properties(orderby_selected_direction) eq "desc"} {
        lappend result "-decreasing"
    }

    lappend result {*}$orderby_properties(multirow_cols)

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