$messagebody
"; + $message->notification = 1; // Because this is a notification generated from Moodle, not a user-to-user message. + $message->contexturl = ''; // A relevant URL for the notification. + $message->contexturlname = ''; // Link title explaining where users get to for the contexturl. + $content = ['*' => ['header' => '', 'footer' => '']]; // Extra content for specific processor. + $message->set_additional_content('email', $content); + + // Actually send the message. + $messageid = message_send($message); + + return $messageid; + } +} diff --git a/classes/privacy/provider.php b/classes/privacy/provider.php new file mode 100644 index 0000000..3a0b3db --- /dev/null +++ b/classes/privacy/provider.php @@ -0,0 +1,106 @@ +. + +/** + * Privacy Subsystem implementation for paygw_payeer. + * + * @package paygw_payeer + * @category privacy + * @copyright 2024 Alex Orlov