|
Moodle PHP Documentation 4.5
Moodle 4.5.5+ (Build: 20250711) (ce34e8ff087)
|
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 |