You are here

public function UcAddressesAddress::__toString in Ubercart Addresses 7

Same name and namespace in other branches
  1. 6.2 class/UcAddressesAddress.class.php \UcAddressesAddress::__toString()

Returns address html.

@access public

@todo Should maybe return "address display" instead.

Return value

string The themed address, as HTML.

File

class/UcAddressesAddress.class.php, line 550
Contains the UcAddressesAddress class.

Class

UcAddressesAddress
The main address class used by uc_addresses (and extension modules).

Code

public function __toString() {
  return theme('uc_addresses_list_address', array(
    'address' => $this,
  ));
}