apm_arg_names_for_callback_type (public)

 apm_arg_names_for_callback_type -type type

Defined in packages/acs-tcl/tcl/apm-procs.tcl

Return the list of required argument names for the given callback type.

Switches:
-type
(required)
Author:
Peter Marklund

Partial Call Graph (max 5 caller/called nodes):
%3 test_acs_admin_require_site_wide acs_admin_require_site_wide (test acs-admin) apm_arg_names_for_callback_type apm_arg_names_for_callback_type test_acs_admin_require_site_wide->apm_arg_names_for_callback_type apm_callback_format_args apm_callback_format_args (public) apm_callback_format_args->apm_arg_names_for_callback_type apm_callback_has_valid_args apm_callback_has_valid_args (public) apm_callback_has_valid_args->apm_arg_names_for_callback_type packages/acs-admin/www/apm/version-callback-add-edit.tcl packages/acs-admin/ www/apm/version-callback-add-edit.tcl packages/acs-admin/www/apm/version-callback-add-edit.tcl->apm_arg_names_for_callback_type

Testcases:
acs_admin_require_site_wide
Source code:
    array set arguments {
        after-instantiate {
            package_id
        }
        before-uninstantiate {
            package_id
        }
        before-unmount {
            package_id
            node_id
        }
        after-mount {
            package_id
            node_id
        }
        before-upgrade {
            from_version_name
            to_version_name
        }
        after-upgrade {
            from_version_name
            to_version_name
        }
    }

    if { [info exists arguments($type)] } {
        return $arguments($type)
    } else {
        return {}
    }
Generic XQL file:
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

[ hide source ] | [ make this the default ]
Show another procedure: