Class AddressFormatProvider

Class AbstractCollection

AddressFormatProvider implements AddressFormatProviderInterface
Package: Shared
Category: System
Located at Shared/AddressFormatProvider.inc.php

Methods summary

public __construct( CI_DB_query_builder $db )

AddressFormatProvider constructor.

public getIds( void ) : IdCollection

Returns the address format IDs.

public getByCountryId( IdType $countryId ) : integer

Returns address format ID based on the country ID provided.

public getByIsoCode2( StringType $iso2 ) : integer

Returns the address format ID based on the ISO-2 country code provided.

public getByIsoCode3( StringType $iso3 ) : integer

Returns the address format ID based on the ISO-3 country code provided.

Properties summary

protected $db : CI_DB_query_builder

Database connection.