Index: openacs-4/packages/acs-templating/tcl/query-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/tcl/query-procs.tcl,v diff -u -N -r1.41 -r1.42 --- openacs-4/packages/acs-templating/tcl/query-procs.tcl 24 Apr 2018 21:59:37 -0000 1.41 +++ openacs-4/packages/acs-templating/tcl/query-procs.tcl 25 Apr 2018 08:42:17 -0000 1.42 @@ -180,8 +180,8 @@ } ad_proc -private template::query::multirow { statement_name db result_name sql } { - Process a multirow query. Use an array for each row row in the - result. Arrays are named name0, name1, name2 etc. The variable + Process a multirow query. Use an array for each row in the + result. Arrays are named name0, name1, name2 etc. The variable name.rowcount is also defined for checking and iteration. @param statement_name Standard db_api statement name used to hook @@ -598,7 +598,7 @@
template::multirow columns datasourcename
returns the columns in the datasource
template::multirow get datasourcename rownum [column]
-
returns the row of of data (or the particular row/column if column is provided)
+
returns the row of data (or the particular row/column if column is provided)
template::multirow set datasourcename rownum column value
set an element value
template::multirow foreach datasource code
@@ -607,8 +607,8 @@
upvar the multirow, aliasing to new_name if provided
template::multirow unset datasource
unset multirow
-
template::multirow sort datasource -lsort-switch -lsort-switch col1 col2
-
Sort the multirow by the column(s) specified. The value sorted by will be the the values of the columns specified, separated by the space character. Any switches specified before the columns will be passed directly to the lsort command.
+
template::multirow sort datasource -lsort-switch col1 col2
+
Sort the multirow by the column(s) specified. The value sorted by will be the values of the columns specified, separated by the space character. Any switches specified before the columns will be passed directly to the lsort command.
template::multirow exists datasource
Return 1 if the multirow datasource exists, 0 if it doesn't.