(v1) Custom Event
(v1) Custom Events can be triggered using Custom Logic. The following parameters are Required to execute the Event.
Custom Event
/** * Event: Custom Event Name * Listener Class: Core Model Event * Listener Method: eventCustom */ PCR_Event::attachDb( 'custom-event-name', ['Core_Model_Event' => 'eventCustom'] ); PCR_Event::trigger( 'custom-event-name', [ 'custom_identifier' => 'identifier used on Custom Event', // ... Any other params for Custom Event Logic ... ] );
Help Desk Portal - Email: help@pcr.com - Phone: 616.259.9242