template::list::orderby_clause (public)

 template::list::orderby_clause -name name [ -orderby ]

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

Get the order by clause for use in your DB query, or returns the empty string if not sorting in the DB.

Switches:
-name (required)
List name
-orderby (optional, boolean)
If this is specified, this proc will also spit out the "order by" part, so it can be used directly in the query without saying 'order by' yourself.

Testcases:
No testcase defined.
[ show source ]
Show another procedure: