Moodle PHP Documentation 4.3
Moodle 4.3.5 (Build: 20240610) (7dcfaa79f78)
message_email

Namespaces

namespace  message_email
 
namespace  message_email\output
 
namespace  message_email\output\email
 
namespace  message_email\privacy
 
namespace  message_email\task
 

Classes

class  message_email\event_observers
 Observer class containing methods for handling events. More...
 
class  message_email\output\email\renderer
 Email digest as html renderer. More...
 
class  message_email\output\email\renderer_textemail
 Email digest as text renderer. More...
 
class  message_email\output\email_digest
 Email digest renderable. More...
 
class  message_email\output\renderer
 Renderer class. More...
 
class  message_email\privacy\provider
 Privacy class for requesting user data. More...
 
class  message_email\task\send_email_task
 Class responsible for sending emails as a digest. More...
 
class  message_output_email
 The email message processor. More...
 

Functions

 xmldb_message_email_install ()
 Install the email message processor.
 
 xmldb_message_email_upgrade ($oldversion)
 Upgrade code for the email message processor.
 

Variables

 $observers
 
 $plugin = 2023100400
 
 $tasks
 
$plugin component = 'message_email'
 
$plugin version = 2023100900
 

Detailed Description

Function Documentation

◆ xmldb_message_email_upgrade()

xmldb_message_email_upgrade ( $oldversion)

Upgrade code for the email message processor.

Parameters
int$oldversionThe version that we are upgrading from

Variable Documentation

◆ $observers

$observers
Initial value:
= [
[
'eventname' => '\core\event\message_viewed',
'callback' => '\message_email\event_observers::message_viewed',
],
]

◆ $tasks

$tasks
Initial value:
= array(
array(
'classname' => 'message_email\task\send_email_task',
'blocking' => 0,
'minute' => 0,
'hour' => 22,
'day' => '*',
'dayofweek' => '*',
'month' => '*'
)
)