ad_call_method (public, deprecated)

 ad_call_method method_name object_id [ args... ]

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

Deprecated. Invoking this procedure generates a warning.

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

Parameters:
method_name - method name
object_id - the target, it is the first arg to the method

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

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

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