You are here

public function UcAddressesAddressBook::getAddresses in Ubercart Addresses 6.2

Same name and namespace in other branches
  1. 7 class/UcAddressesAddressBook.class.php \UcAddressesAddressBook::getAddresses()

Returns all addresses of the user.

@access public

Return value

array

File

class/UcAddressesAddressBook.class.php, line 543
Contains the UcAddressesAddressBook class.

Class

UcAddressesAddressBook
The address book class

Code

public function getAddresses() {
  if (!$this->allLoaded) {
    $this
      ->loadAll();
  }
  return $this->addresses;
}