apm_get_callback_proc (public)
apm_get_callback_proc -type type [ -package_key package_key ] \ [ -version_id version_id ]
Defined in packages/acs-tcl/tcl/apm-procs.tcl
Return Tcl procedure name for the callback of a certain type for the given package. If no callback proc for the given type is present returns the empty string.
- Switches:
- -type (required)
- -package_key (optional)
- -version_id (optional)
- Author:
- Peter Marklund
- See Also:
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- apm__test_callback_get_set
Source code: apm_assert_callback_type_supported $type if { $version_id eq "" } { set version_id [apm_version_id_from_package_key $package_key] } return [db_string select_proc {} -default ""]Generic XQL file: <fullquery name="apm_get_callback_proc.select_proc"> <querytext> select proc from apm_package_callbacks where version_id = :version_id and type = :type </querytext> </fullquery>packages/acs-tcl/tcl/apm-procs.xql
PostgreSQL XQL file: packages/acs-tcl/tcl/apm-procs-postgresql.xql
Oracle XQL file: packages/acs-tcl/tcl/apm-procs-oracle.xql