export_entire_form_as_url_vars (public, deprecated)

 export_entire_form_as_url_vars [ vars_to_passthrough ]

Defined in packages/acs-tcl/tcl/utilities-procs.tcl

Deprecated. Invoking this procedure generates a warning.

export_vars is now the preferred interface. Returns a URL parameter string of name-value pairs of all the form parameters passed to this page. If vars_to_passthrough is given, it should be a list of parameter names that will be the only ones passed through.

Parameters:
vars_to_passthrough (optional)
See Also:

Partial Call Graph (max 5 caller/called nodes):
%3 ad_log_deprecated ad_log_deprecated (public) ad_urlencode_query ad_urlencode_query (public) export_entire_form_as_url_vars export_entire_form_as_url_vars export_entire_form_as_url_vars->ad_log_deprecated export_entire_form_as_url_vars->ad_urlencode_query

Testcases:
No testcase defined.
Source code:
ad_log_deprecated proc export_entire_form_as_url_vars
    set params [list]
    set the_form [ns_getform]
    if { $the_form ne "" } {
        foreach {varname varvalue} [ns_set array $the_form] {
            if {
                $vars_to_passthrough eq ""
                || ($varname in $vars_to_passthrough)
            } {
                lappend params "[ad_urlencode_query $varname]=[ad_urlencode_query $varvalue]"
            }
        }
        return [join $params "&"]
    }
XQL Not present:
PostgreSQL, Oracle
Generic XQL file:
packages/acs-tcl/tcl/utilities-procs.xql

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