AddressFormatProviderInterface
in
Class AbstractCollection
Tags
Table of Contents
- getByCountryId() : int
- Returns address format IDs based on the country ID provided.
- getByIsoCode2() : int
- Returns the address format IDs based on the ISO-2 country code provided.
- getByIsoCode3() : int
- Returns the address format IDs based on the ISO-3 country code provided.
- getIds() : IdCollection
- Returns the address format IDs.
Methods
getByCountryId()
Returns address format IDs based on the country ID provided.
public
getByCountryId(IdType $countryId) : int
Parameters
- $countryId : IdType
-
Country ID.
Return values
int —Address format ID.
getByIsoCode2()
Returns the address format IDs based on the ISO-2 country code provided.
public
getByIsoCode2(StringType $iso2) : int
Parameters
- $iso2 : StringType
-
ISO-2 country code.
Return values
int —Address format ID.
getByIsoCode3()
Returns the address format IDs based on the ISO-3 country code provided.
public
getByIsoCode3(StringType $iso3) : int
Parameters
- $iso3 : StringType
-
ISO-3 country code.
Return values
int —Address format ID.
getIds()
Returns the address format IDs.
public
getIds() : IdCollection
Return values
IdCollection —Collection of address format IDs.