You are here

public function UcAddressesAddressBook::save in Ubercart Addresses 7

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

Saves every address currently loaded in this address book.

@access public

Return value

void

File

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

Class

UcAddressesAddressBook
The address book class

Code

public function save() {
  foreach ($this->addresses as $aid => $address) {
    $address
      ->save();
  }
}