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