You are here

public static function Messaging_Destination::build_user in Messaging 7

Build from user account

2 calls to Messaging_Destination::build_user()
Messaging_Destination::build_method in ./messaging.destination.inc
Build from method, address, user
Messaging_Send_Method::user_destination in ./messaging.method.inc
Get destination for user account

File

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

Class

Messaging_Destination
Message destination class

Code

public static function build_user($type, $user) {
  $destination = self::build_type($type);
  $destination
    ->set_user($user);
  return $destination;
}