| Moodle APIs 3.9
    Moodle 3.9.13+ (Build: 20220325) | 
A chat message from a user. More...
 
  
| Public Member Functions | |
| __construct ($senderprofile, $sendername, $avatar, $mymessageclass, $time, $message, $theme) | |
| user_message constructor  More... | |
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 |