You are here

public function UcAddressesAddress::__toString in Ubercart Addresses 6.2

Same name and namespace in other branches
  1. 7 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 537
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', $this);
}