Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

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


  • No labels