canvas::API method params (protected)
<instance of canvas::API> params varlist
Defined in packages/xooauth/tcl/canvas-procs.tcl
parameter encoding following the parameter conventions in Canvas
- Parameters:
- varlist (required)
- Testcases:
- No testcase defined.
Source code: set params {} foreach var $varlist { if {[regexp {^(.*):array$} $var . var]} { set values [:uplevel [list set $var]] if {$values eq ""} continue foreach value $values { lappend params $var\[\]=[ad_urlencode_query $value] } } else { set value [:uplevel [list set $var]] if {$value eq ""} continue lappend params $var=[ad_urlencode_query $value] } } return [join $params &]XQL Not present: Generic, PostgreSQL, Oracle