Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 4.1.x will end 13 November 2023 (12 months).
  • Bug fixes for security issues in 4.1.x will end 10 November 2025 (36 months).
  • PHP version: minimum PHP 7.4.0 Note: minimum PHP version has increased since Moodle 4.0. PHP 8.0.x is supported too.

Differences Between: [Versions 401 and 402] [Versions 401 and 403]

(no description)

File Size: 224 lines (7 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class


Class: base_send_notification  - X-Ref

Class containing the abstract class for notification processes in BBB.

execute()   X-Ref
Execute the task.


append_custom_data(array $newdata)   X-Ref
Append additional elements of custom data

param: array $newdata

set_instance_id(int $instanceid)   X-Ref
Set the instanceid in the custom data.

param: int $instanceid

get_instance()   X-Ref
Get the bigbluebutton instance that this notification is for.

return: instance

get_course_contact()   X-Ref
Get the preferred course contact for this notification.

return: stdClass

get_recipients()   X-Ref
Get the list of recipients for the notification.

return: stdClass[]

get_message()   X-Ref
Get the plain text message content.

return: string

get_message_format()   X-Ref
Get the preferred message format

return: string

send_all_notifications()   X-Ref
Send all of the notifications


send_notification_to_current_user()   X-Ref
Send the notificiation to the current user.