ad_dispatch (public, deprecated)

 ad_dispatch method_name type [ args... ]

Defined in packages/acs-bootstrap-installer/tcl/00-proc-procs.tcl

Deprecated. Invoking this procedure generates a warning.

Calls method_name with the type as the first arg, and the remaining args are the remainder of the args to method_name. Example: "ad_dispatch method1 foo bar baz" calls the method1 associated with the type foo, with foo bar and baz as the 3 arguments.

Parameters:
method_name - method name
type - associated type

Partial Call Graph (max 5 caller/called nodes):
%3 ad_apply ad_apply (public) ad_get_tcl_call_stack ad_get_tcl_call_stack (public) ad_dispatch ad_dispatch ad_dispatch->ad_apply ad_dispatch->ad_get_tcl_call_stack

Testcases:
No testcase defined.
Source code:
ns_log Notice "Deprecated proc ad_dispatch used:\n[ad_get_tcl_call_stack]"

    return [ad_apply ${method_name}__$type $args]
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: