pa_pagination_ns_set_to_url_vars (private)

 pa_pagination_ns_set_to_url_vars set_id

Defined in packages/photo-album/tcl/photo-album-procs.tcl

helper procedure - turns an ns_set into a list of url_vars

Parameters:
set_id (required)

Partial Call Graph (max 5 caller/called nodes):
%3

Testcases:
No testcase defined.
Source code:
    set url_vars {}
    set size [ns_set size $set_id]
    for { set i 0 } { $i < $size } { incr i } {
    set key [ns_set key $set_id $i]
    set value [ns_set get $set_id $key]
    lappend url_vars "$key=$value"
    }

    return [join $url_vars "&amp;"]
Generic XQL file:
packages/photo-album/tcl/photo-album-procs.xql

PostgreSQL XQL file:
packages/photo-album/tcl/photo-album-procs-postgresql.xql

Oracle XQL file:
packages/photo-album/tcl/photo-album-procs-oracle.xql

[ hide source ] | [ make this the default ]
Show another procedure: