Public Member Functions | |
| __construct ($sender=NULL, $subject=parent::NOSUBJECT, $message=parent::NOMESSAGE) | |
| setSender ($senderId=NULL) | |
| setSubject ($subject) | |
| setMessage ($message) | |
| setCourse ($course) | |
| setGroup ($group) | |
| setTools ($tools) | |
Definition at line 23 of file messagetosend.lib.php.
| __construct | ( | $ | sender = NULL, |
|
| $ | subject = parent::NOSUBJECT, |
|||
| $ | message = parent::NOMESSAGE | |||
| ) |
create an message to send with the information in parameters
| int | $sender user identification if it's not defined it use the current user id | |
| string | $subject subject of the message | |
| string | $message content of the message |
Definition at line 34 of file messagetosend.lib.php.
| setCourse | ( | $ | course | ) |
set the course id of the current message
| string | $course course identification |
Definition at line 93 of file messagetosend.lib.php.
| setGroup | ( | $ | group | ) |
set the group id of the current message
| int | $group groupe identification |
Definition at line 103 of file messagetosend.lib.php.
| setMessage | ( | $ | message | ) |
set the content of the current message
| string | $message message |
Definition at line 83 of file messagetosend.lib.php.
| setSender | ( | $ | senderId = NULL |
) |
set the send identification
| int | $senderId sender identification (optional, default NULL) |
Definition at line 56 of file messagetosend.lib.php.
| setSubject | ( | $ | subject | ) |
set the subject of the current message
| string | $subject suject of the message |
Definition at line 73 of file messagetosend.lib.php.
| setTools | ( | $ | tools | ) |
set the Tlabel of tool of the current message
| string | $tools course identification |
Definition at line 113 of file messagetosend.lib.php.
1.6.3