function hook_privatemsg_sql_messages_alter in Privatemsg 6.2
Same name and namespace in other branches
- 6 privatemsg.api.php \hook_privatemsg_sql_messages_alter()
Query definition to load messages of one or multiple threads.
Parameters
$fragments: Query fragments array.
$threads: Array with one or multiple thread id's.
$account: User object for which the messages are being loaded.
$load_all: Deleted messages are only loaded if this is set to TRUE.
Related topics
File
- ./
privatemsg.api.php, line 179 - Privatemsg API Documentation
Code
function hook_privatemsg_sql_messages_alter(&$fragments, $threads, $account = NULL, $load_all = FALSE) {
}