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 (required)
method name
object_id (required)
the target, it is the first arg to the method
See Also:
  • expansion operator "{*}"
  • xotcl-core package offers a real ORM interface for acs_object types
  • NSF idioms
  • OO Tcl idioms

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

Testcases:
No testcase defined.
Source code:
ad_log_deprecated proc ad_call_method
    return [${method_name}__[util_memoize [list acs_object_type $object_id]] $object_id {*}$args]
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: