You are here

function Messaging_Send_Method::format_address in Messaging 6.4

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

Format address for display

File

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

Class

Messaging_Send_Method
Sending method, implements all specific method functionality

Code

function format_address($address, $html = FALSE) {
  if ($function = $this
    ->get_address_info('format callback')) {
    return $function($address, $html);
  }
  else {
    return check_plain($address);
  }
}