Document toolboxDocument toolbox

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",
     ]
);