You are here

function Messaging_Send_Method::user_destination in Messaging 7

Same name and namespace in other branches
  1. 6.3 classes/messaging_method.class.inc \Messaging_Send_Method::user_destination()

Get destination for user account

Parameters

$account: User account object or uid

File

./messaging.method.inc, line 255
Drupal Messaging Framework - Send_Method class file

Class

Messaging_Send_Method
Sending method, implements all specific method functionality

Code

function user_destination($account) {
  return Messaging_Destination::build_user($this
    ->address_type(), $account);
}