Overview
  • Package
  • Class
  • Tree
  • Todo

Packages

  • AddonValue
    • Interfaces
  • ApiV2Controllers
  • Category
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Providers
    • Repositories
    • Storages
  • Customer
    • Address
    • Country
    • CountryZone
    • Interfaces
    • Validation
    • ValueObjects
  • Email
    • Collections
    • Entities
    • Exceptions
    • Interfaces
    • Repository
    • ValueObjects
  • Http
    • Collections
    • Exceptions
    • Factories
    • Interfaces
    • ValueObjects
  • Loaders
    • CrossCuttingLoader
    • GXCoreLoader
    • Interfaces
  • None
  • Order
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
    • Storages
    • ValueObjects
  • Product
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Providers
    • Repositories
    • Storages
  • ProductModule
    • Collections
    • Deleter
    • Entities
    • Factories
    • Interface
    • Interfaces
    • Reader
    • Repositories
    • Writer
  • Shared
    • Exceptions
    • FileSystem
    • Interfaces
    • Storage
    • Types
  • Statistics
    • Interfaces
  • UserConfiguration
    • Interfaces
    • Repository

Classes

  • CustomerCountryZone
  • CustomerCountryZoneReader
  • CustomerCountryZoneRepository

Class CustomerCountryZoneReader

Class CustomerCountryZoneReader

This class is used for reading customer country zone data from the database

CustomerCountryZoneReader implements CustomerCountryZoneReaderInterface
Package: Customer\CountryZone
Category: System
Implements: CustomerCountryZoneReaderInterface
Located at CoreServices/Country/CustomerCountryZoneReader.inc.php

Methods summary

public
# __construct( AbstractCustomerFactory $customerFactory, CI_DB_query_builder $dbQueryBuilder )

Constructor of the class CustomerCountryZoneReader

Constructor of the class CustomerCountryZoneReader

Parameters

$customerFactory
$dbQueryBuilder
public CustomerCountryZone
# findByName( CustomerCountryZoneNameInterface $countryZoneName )

Parameters

$countryZoneName

Returns

CustomerCountryZone

Throws

InvalidArgumentException
if $p_countryZoneName is not a string

Implementation of

CustomerCountryZoneReaderInterface::findByName()
public CustomerCountryZone|null
# findByNameAndCountry( CustomerCountryZoneNameInterface $countryZoneName, CustomerCountryInterface $country )

Parameters

$countryZoneName
$country

Returns

CustomerCountryZone|null
public CustomerCountryZone
# findById( IdType $countryZoneId )

Parameters

$countryZoneId

Returns

CustomerCountryZone

Throws

InvalidArgumentException
if $p_countryZoneName is not a string

Implementation of

CustomerCountryZoneReaderInterface::findById()
public array
# findCountryZonesByCountryId( IdType $countryId )

Parameters

$countryId

Returns

array
of CustomerCountryZone objects

Throws

InvalidArgumentException

Implementation of

CustomerCountryZoneReaderInterface::findCountryZonesByCountryId()
protected CustomerCountryZone
# _createCountryZoneByArray( array $zoneDataArray )

Parameters

$zoneDataArray

Returns

CustomerCountryZone

Properties summary

protected AbstractCustomerFactory $customerFactory
#
protected CI_DB_query_builder $db
#
API documentation generated by ApiGen