/
(v1) Custom Event

(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 ...
    ]
);


Related content

(2024.1) Custom Event
(2024.1) Custom Event
More like this
(v1) .Custom Event v2022.1
(v1) .Custom Event v2022.1
More like this
(v1) .Custom Event v2022.2
(v1) .Custom Event v2022.2
More like this
(v1) .Custom Event v2.1.4.7
(v1) .Custom Event v2.1.4.7
More like this
Triggering Events
Triggering Events
More like this
(v1) Bill Approve Event
(v1) Bill Approve Event
More like this

Help Desk Portal - Email: help@pcr.com - Phone: 616.259.9242