function hook_query_privatemsg_messages_alter

7-1 privatemsg.api.php hook_query_privatemsg_messages_alter($query)
7-2 privatemsg.api.php hook_query_privatemsg_messages_alter($query)

Query definition to load messages of one or multiple threads.

Parameters

$query: Query object

See also

privatemsg_sql_messages()

hook_query_alter()

Related topics

File

./privatemsg.api.php, line 83
Privatemsg API Documentation

Code

function hook_query_privatemsg_messages_alter($query) {
  $threads = $query->getMetaData('arg_1');
  $account = $query->getMetaData('arg_2');
  $load_all = $query->getMetaData('arg_3');
}