PCR-360 Wiki
2026.1 2025.2 2025.1 2024.2
2026.1 2025.2 2025.1 2024.2

Notification Event

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

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