You are here

public static function Messaging_Destination::get in Messaging 7

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

Get from db using conditions

2 calls to Messaging_Destination::get()
Messaging_Destination::create_type in ./messaging.destination.inc
Create with parameters
Messaging_Destination::get_by_address in ./messaging.destination.inc
Get destination by method and address. This allows advanced caching.

File

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

Class

Messaging_Destination
Message destination class

Code

public static function get($params) {
  $dest = self::load_multiple(array(), $params);
  return reset($dest);
}