@page_title;literal@ @context;literal@

Help

Below is the list of available callbacks and the parameters they will be called with. Note that the parameters are sent as named parameters.

For install, uninstall, and upgrade, the before/after part of the name refers to before or after the database create/upgrade/drop scripts have been run. For mounting and instantiating, well, that should be fairly obvious.

For the upgrade callbacks, you should definitely check out the proc apm_upgrade_logic, which makes it very easy to handle the logic of which things to process depending on which version you're upgrading from and to.

Callback Parameters
before-install
after-install
before-upgrade -from_version_name -to_version_name
after-upgrade -from_version_name -to_version_name
before-uninstall
after-instantiate -package_id
before-uninstantiate -package_id
after-mount -package_id -node_id
before-unmount -package_id -node_id