GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Class::Workflow::State::AcceptHooks(3) User Contributed Perl Documentation Class::Workflow::State::AcceptHooks(3)

Class::Workflow::State::AcceptHooks - Add hooks that are fired when the state accepts an instance.

        use Class::Workflow::State::AcceptHooks;

When an instance enters a state it is sometimes convenient to call hooks, for e.g. notification or logging purposes.

These hooks should not have any side effect that directly affects the workflow instance in any way - for that functionality you should use transitions.

Hooks' returns values are thus ignored.

add_hook
add_hooks
Add hooks. These should be sub references.
clear_hooks
Clear the list of hooks.
hooks
Get the list of registered hooks.

accept_instance
This method has an "after" hook that calls the hooks in the order of their definition.
2009-01-10 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.