Event
Table of Contents
Classes
- EventPrinter
- This provides some rarely used debug utilities.
- EventScanner
- The `EventScanner` is a utility for scanning a class to see if it has any event-listeners. It may check for common interfaces and conventions. Example:
- GenericHookEvent
- Class GenericHookEvent
- HookStyleListener
- This is an adapter which allows you to attach hook-style functions directly to the dispatcher.
- HookStyleServiceListener
- A hook-style service-listener is a callable with two properties:
- PostEvent
- Class AuthorizeEvent
- PreEvent
- Class AuthorizeEvent
- QueryEvent
- Class QueryEvent
- ServiceListener
- A ServiceListener is a `callable` (supporting "__invoke()") which references a method of a service-object.
- SmartyErrorEvent
- This triggers when a smarty parse error happens via \Smarty::trigger_error Event: civi.smarty.error
- SystemInstallEvent
- Class SystemInstallEvent
- UnhandledExceptionEvent
- Class UnhandledExceptionEvent
- GenericHookEventTest
- Base class for CiviCRM unit tests
- HookStyleServiceListenerTest
- Register a service (eg 'test.hssvlt') with a hook method (eg `function hook_civicrm_hssvlt()`).
- HookStyleServiceListenerTestExample
- ServiceListenerTest
- Base class for CiviCRM unit tests
- ServiceListenerTestExample