|
Moodle APIs
3.8
Moodle 3.8.6 (Build: 20201109)
|
A chat message from a user. More...
Public Member Functions | |
| __construct ($senderprofile, $sendername, $avatar, $mymessageclass, $time, $message, $theme) | |
| user_message constructor More... | |
Public Attributes | |
| string | $avatar |
| HTML for the avatar of the user sending the message. | |
| string | $message |
| The message. | |
| string | $mymessageclass |
| Empty or a html class definition to append to the html. | |
| string | $sendername |
| The ready to display name of the user sending the message. | |
| string | $senderprofile |
| The URL of the profile of the user sending the message. | |
| string | $theme |
| The name of the chat theme to use. | |
| string | $time |
| Ready to display message time. | |
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 |