Document toolboxDocument toolbox

(v1) Notification Event

The Notification Event can be triggered using Custom Logic. The following parameters are Required to execute the Event.

Notification
PCR_Event::attachDb(
    "some-notification",
    ["Core_Model_Notification" => "eventSend"]
);
PCR_Event::trigger(
    "some-notification",
    [
        "notification" => 35,
        "filter" => {
            /**
             * Hash vaiables replaced in Notification Body of other fields
             * ##HASH_VARIABLE## or ##SENDTO_EMAIL##
             */
            "HASH_VARIABLE1" => "this is a variable",
            "SENDTO_EMAIL" => "test@test.com",
        },



        "eventBroadcastBy" => "12345",
        "eventBroadcastTime" => "Sep 30, 2022, 11:23 am",
        "eventBroadcastDayofWeek" => "5",
        "eventBroadcastHourMin" => "1123",
     ]
);

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