ZMObject
|
+--ZMAddresses
public class ZMAddresses
extends ZMObject
| Fields inherited from org.zenmagick.ZMObject | |
|---|---|
| properties_ | |
| Constructor Summary | |
|---|---|
Create new instance. |
|
| Method Summary | |
|---|---|
| ZMAddress | createAddress(mixed address, ZMAddress The) Create a new address. |
| void | deleteAddressForId(int addressId, boolean Delte an address. |
| ZMAddress | getAddressForId(int addressId, int accountId) Get the address for the given id. |
| string | getAddressFormatForId(int addressFormatId) Get the address format for the given address format id. |
| array | getAddressesForAccountId(int accountId) Get all addresses for the given account id. |
| private void | getDefaultAddressId(int accountId) Get the default address id for the given account. |
| static void | instance() Get instance. |
| ZMAddress | updateAddress(mixed address, ZMAddress account) Update the given address. |
| Methods inherited from org.zenmagick.ZMObject | |
|---|---|
| attachMethod, get, getAttachedMethods, getPropertyNames, set, singleton | |
public ZMAddresses()
Create new instance. /
public ZMAddress createAddress(mixed address, ZMAddress The)
Create a new address.
public void deleteAddressForId(int addressId, boolean true.)
Delte an address.
public ZMAddress getAddressForId(int addressId, int accountId)
Get the address for the given id.
null.null.public string getAddressFormatForId(int addressFormatId)
Get the address format for the given address format id.
public array getAddressesForAccountId(int accountId)
Get all addresses for the given account id.
ZMAddress instances.private void getDefaultAddressId(int accountId)
Get the default address id for the given account.
public static void instance()
Get instance. /
public ZMAddress updateAddress(mixed address, ZMAddress account)
Update the given address.
Addresses.