Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
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 = 2024041600
 
 $tasks
 
$plugin component = 'message_email'
 
$plugin version = 2024042200
 

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' => '*'
)
)