CustomerGroupReader

Implements \CustomerGroupReaderInterface

Class CustomerGroupReader

category

System

package

CustomerGroup

subpackage

Repositories

Methods

__construct

__construct(\CI_DB_query_builder $queryBuilder) 

Arguments

$queryBuilder

\CI_DB_query_builder

Returns customer group counted members by id.

_countMembers( $int) : integer

Arguments

$int

Response

integer

Returns an array of all customer groups from customer_status table.

_getAllGroups() : array

Response

array

Gets the Configuration data from data array.

_getConfigurationsData(array $customerGroupData) : array

Arguments

$customerGroupData

array

Response

array

Gets the default value from configuration table.protected

_getDefaultValue() : array

Response

array

Gets the Settings data from data array.

_getSettingsData(array $customerGroupData) : array

Arguments

$customerGroupData

array

Response

array

Returns all customer group entities data as array.

getAll() : array

Response

array

Returns customer group entity data by the given id.

getById(\IntType $id) : array
Throws
\EntityNotFoundException

Arguments

$id

\IntType

Response

array

Properties

queryBuilder

queryBuilder : \CI_DB_query_builder
var

Type(s)

\CI_DB_query_builder