You are here

function uc_addresses_address in Ubercart Addresses 5.2

Same name and namespace in other branches
  1. 5 uc_addresses.module \uc_addresses_address()
  2. 6 uc_addresses.module \uc_addresses_address()

Format an address the same as the rest of the Ubercart store.

Parameters

$items An object containing address information.:

Return value

A formatted address.

1 call to uc_addresses_address()
uc_addresses_pane_address in ./uc_addresses_address_pane.inc
Create, edit, process or view the Address pane.

File

./uc_addresses.module, line 1022

Code

function uc_addresses_address($items) {
  $address = uc_address_format($items->first_name, $items->last_name, $items->company, $items->street1, $items->street2, $items->city, $items->zone, $items->postal_code, $items->country);
  return $address;
}