You are here

public static function Messaging_Destination::load in Messaging 7

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

Load object from database

File

./messaging.destination.inc, line 157
Drupal Messaging Framework - Default class file

Class

Messaging_Destination
Message destination class

Code

public static function load($mdid) {
  $dest = entity_load('messaging_destination', array(
    $mdid,
  ));
  return $dest ? $dest[$mdid] : FALSE;
}