You are here

public static function Messaging_Message::load in Messaging 7

Same name and namespace in other branches
  1. 6.4 includes/messaging_message.class.inc \Messaging_Message::load()

Load message by id

File

./messaging.message.inc, line 686
Drupal Messaging Framework - Message class file

Class

Messaging_Message
Message class

Code

public static function load($msid) {
  $message = entity_load('messaging_message', array(
    $eid,
  ));
  return $message ? $message[$msid] : FALSE;
}