You are here

public static function Messaging_Destination::create_method in Messaging 6.4

Same name and namespace in other branches
  1. 7 messaging.destination.inc \Messaging_Destination::create_method()

Create for sending method

3 calls to Messaging_Destination::create_method()
messaging_account_build_destination in ./messaging.module
Build destination object from user account (and create destination if not exists)
Messaging_API_Tests::testMessagingBasicAPI in tests/messaging_api.test
Exercise basic API functions
Messaging_Destination::create in includes/messaging_destination.class.inc
Create from array data

File

includes/messaging_destination.class.inc, line 187
Drupal Messaging Framework - Default class file

Class

Messaging_Destination
Message destination class

Code

public static function create_method($send_method, $address, $uid) {
  if ($type = messaging_method_info($send_method, 'address_type')) {
    return self::create_type($type, $address, $uid);
  }
}