Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
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: