You are here

public function UcAddressesAddressBook::getAddresses in Ubercart Addresses 7

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

Returns all addresses of the user.

@access public

Return value

array

File

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

Class

UcAddressesAddressBook
The address book class

Code

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