Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
|
A chat message from a user. More...
Public Member Functions | |
__construct ($senderprofile, $sendername, $avatar, $mymessageclass, $time, $message, $theme) | |
user_message constructor | |
A chat message from a user.
user_message::__construct | ( | $senderprofile, | |
$sendername, | |||
$avatar, | |||
$mymessageclass, | |||
$time, | |||
$message, | |||
$theme ) |
user_message constructor
string | $senderprofile | The URL of the profile of the user sending the message |
string | $sendername | The ready to display name of the user sending the message |
string | $avatar | HTML for the avatar of the user sending the message |
string | $mymessageclass | Empty or a html class definition to append to the html |
string | $time | Ready to display message time |
string | $message | The message |
string | $theme | The name of the chat theme to use |