You are here

function Messaging_Send_Method::get_address_uid in Messaging 6.4

Get uid for address

File

includes/messaging_method.class.inc, line 269
Drupal Messaging Framework - Send_Method class file

Class

Messaging_Send_Method
Sending method, implements all specific method functionality

Code

function get_address_uid($address) {
  if ($this->address_type == 'user') {
    return (int) $address;
  }
  elseif ($function = $this
    ->get_address_info('address2uid callback')) {
    return $function($address);
  }
}