function privatemsg_message_load_multiple

1 privatemsg.module privatemsg_message_load_multiple($pmids, $account = NULL)
7-1 privatemsg.module privatemsg_message_load_multiple(array $pmids, array $conditions = array(), $reset = FALSE)
7-2 privatemsg.module privatemsg_message_load_multiple(array $pmids, array $conditions = array(), $reset = FALSE)
6-2 privatemsg.module privatemsg_message_load_multiple($pmids, $account = NULL, $reset = FALSE)

Load multiple messages.

Parameters

$pmids: Array of Message ids, pm.mid field

$account: For which account the message should be loaded. Defaults to the current user.

Related topics

2 calls to privatemsg_message_load_multiple()
privatemsg_message_load in ./privatemsg.module
Load a single message.
privatemsg_thread_load in ./privatemsg.module
Load a thread with all the messages and participants.

File

./privatemsg.module, line 2054
Allows users to send private messages to other users.

Code

function privatemsg_message_load_multiple(array $pmids, array $conditions = array(), $reset = FALSE) {
  $result = entity_load('privatemsg_message', $pmids, $conditions, $reset);
  return $result;
}