Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
event_message Class Reference

A chat event such a user entering or leaving a chat activity. More...

Inheritance diagram for event_message:
renderable

Public Member Functions

 __construct ($senderprofile, $sendername, $time, $event, $theme)
 event_message constructor
 

Public Attributes

string $event
 Event description.
 
string $sendername
 The ready to display name of the user who caused the event.
 
string $senderprofile
 The URL of the profile of the user who caused the event.
 
string $theme
 The chat theme name.
 
string $time
 Ready to display event time.
 

Detailed Description

A chat event such a user entering or leaving a chat activity.

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Constructor & Destructor Documentation

◆ __construct()

event_message::__construct ( $senderprofile,
$sendername,
$time,
$event,
$theme )

event_message constructor

Parameters
string$senderprofileThe URL of the profile of the user who caused the event
string$sendernameThe ready to display name of the user who caused the event
string$timeReady to display event time
string$themeThe chat theme name

The documentation for this class was generated from the following file: