You are here

function Messaging_Send_Method::address_name in Messaging 6.4

Same name and namespace in other branches
  1. 7 messaging.method.inc \Messaging_Send_Method::address_name()

Get address name

File

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

Class

Messaging_Send_Method
Sending method, implements all specific method functionality

Code

function address_name() {
  if (empty($this->address_name)) {
    if ($name = $this
      ->get_address_info('name')) {
      $this->address_name = $name;
    }
    else {
      $this->address_name = t('Address');
    }
  }
  return $this->address_name;
}