Moodle APIs  3.8
Moodle 3.8.6 (Build: 20201109)
Public Member Functions | Public Attributes | List of all members
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 More...
 

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: