Squiz Matrix
4.12.2
|
Public Member Functions | |
Internal_Message () | |
load ($messageid) | |
send () | |
printBody () | |
formatBody (&$user, $isInternalMessage=FALSE) | |
expandUsersTo () | |
delete () | |
updateStatus ($status) | |
Public Member Functions inherited from MySource_Object | |
MySource_Object () | |
__sleep () | |
__wakeup () | |
Data Fields | |
$id = 0 | |
$to = Array() | |
$from = 0 | |
$type = '' | |
$sent = 0 | |
$subject = '' | |
$body = '' | |
$priority = SQ_MSG_PRIORITY_NORMAL | |
$status = SQ_MSG_UNREAD | |
$assetid = NULL | |
$parameters = Array() | |
$replacements = Array() | |
Data Fields inherited from MySource_Object | |
$_tmp | |
Definition at line 29 of file internal_message.inc.
delete | ( | ) |
Deletes an internal message FOREVER - be careful
Definition at line 702 of file internal_message.inc.
expandUsersTo | ( | ) |
Returns an array of users this message will be sent to
That is, it expands the groups ids and returns a unique array of userids
Definition at line 608 of file internal_message.inc.
formatBody | ( | & | $user, |
$isInternalMessage = FALSE |
|||
) |
Replaces keywords in the body of the message
object | &$user | the user that the message is being sent to |
boolean | $isInternalMessage | Determine whether this message is internal or to be sent to email. |
Definition at line 544 of file internal_message.inc.
Internal_Message | ( | ) |
Constructor
Definition at line 111 of file internal_message.inc.
load | ( | $messageid | ) |
Loads the information about this message
int | $messageid | id of the message the you want to get |
Definition at line 126 of file internal_message.inc.
printBody | ( | ) |
Called by the design to print the body of this message
public
Definition at line 485 of file internal_message.inc.
send | ( | ) |
Sends an internal message
Definition at line 170 of file internal_message.inc.
updateStatus | ( | $status | ) |
Update the status of a message
string | $status | the new status (see constants for SQ_MSG_*) |
Definition at line 729 of file internal_message.inc.