Class CountryService
Class CountryService
This class is used for finding country data
- CountryService implements CountryServiceInterface
Package: Customer\Country
Category: System
Implements: CountryServiceInterface
Located at Services/Core/Country/CountryService.inc.php
Category: System
Implements: CountryServiceInterface
Located at Services/Core/Country/CountryService.inc.php
Methods summary
public
|
#
__construct(
Constructor of the class CountryService |
public
|
|
public
|
#
getCountryZoneByNameAndCountry(
Getter method for the country zone |
public
|
#
findCountryZoneByNameAndCountry(
This method returns a CustomerCountryZone object if found. Otherwise null will be returned. |
public
|
|
public
|
#
getUnknownCountryZoneByName( string $p_zoneName )
This method will return a new CustomerCountryZone object representing an unknown country zone. |
public
array
|
#
findCountryZonesByCountryId(
This method will return an array of CustomerCountryZone objects found by the country ID. If the country has no zones, an empty array will be returned |
public
boolean
|
#
countryZoneExistsInCountry(
Checks if there is a country zone in a country |
public
boolean
|
#
countryHasCountryZones(
Checks if country has country zones |
public
|
|
public
|
|
public
|
|
public
|
Properties summary
protected
|
$customerCountryRepo
|
|
protected
|
$customerCountryZoneRepo
|