template::request::get_param (public)

 template::request::get_param name

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

Retrieves the value(s) of the specified parameter.

Parameters:
name (required)
The name of the parameter.
Returns:
The value of the specified parameter.

Partial Call Graph (max 5 caller/called nodes):
%3 template::adp_level template::adp_level (public) template::element::get_value template::element::get_value (public) template::element::get_values template::element::get_values (public) template::request::get_param template::request::get_param template::request::get_param->template::adp_level template::request::get_param->template::element::get_value template::request::get_param->template::element::get_values

Testcases:
No testcase defined.
Source code:
    set level [template::adp_level]
    upvar #$level request:$name param

    if { [info exists param(multiple)] } {

    # multiple values expected

        set value [template::element::get_values request $name]

    } else {
        set value [template::element::get_value request $name]
    }

    return $value
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: