phpDocumentor

CustomerGroupReader implements CustomerGroupReaderInterface

Class CustomerGroupReader

Tags
category

System

subpackage

Repositories

Interfaces, Classes and Traits

CustomerGroupReaderInterface
Interface CustomerGroupReaderInterface

Table of Contents

$queryBuilder  : CI_DB_query_builder
__construct()  : mixed
getAll()  : array<string|int, mixed>
Returns all customer group entities data as array.
getById()  : array<string|int, mixed>
Returns customer group entity data by the given id.
_countMembers()  : int
Returns customer group counted members by id.
_getAllGroups()  : array<string|int, mixed>
Returns an array of all customer groups from customer_status table.
_getConfigurationsData()  : array<string|int, mixed>
Gets the Configuration data from data array.
_getDefaultValue()  : array<string|int, mixed>
Gets the default value from configuration table.protected
_getSettingsData()  : array<string|int, mixed>
Gets the Settings data from data array.

Properties

Methods

__construct()

public __construct(CI_DB_query_builder $queryBuilder) : mixed
Parameters
$queryBuilder : CI_DB_query_builder
Return values
mixed

getAll()

Returns all customer group entities data as array.

public getAll() : array<string|int, mixed>
Return values
array<string|int, mixed>

_countMembers()

Returns customer group counted members by id.

protected _countMembers( $int) : int
Parameters
$int :
Return values
int

_getAllGroups()

Returns an array of all customer groups from customer_status table.

protected _getAllGroups() : array<string|int, mixed>
Return values
array<string|int, mixed>

_getConfigurationsData()

Gets the Configuration data from data array.

protected _getConfigurationsData(array<string|int, mixed> $customerGroupData) : array<string|int, mixed>
Parameters
$customerGroupData : array<string|int, mixed>
Return values
array<string|int, mixed>

_getDefaultValue()

Gets the default value from configuration table.protected

protected _getDefaultValue() : array<string|int, mixed>
Return values
array<string|int, mixed>

_getSettingsData()

Gets the Settings data from data array.

protected _getSettingsData(array<string|int, mixed> $customerGroupData) : array<string|int, mixed>
Parameters
$customerGroupData : array<string|int, mixed>
Return values
array<string|int, mixed>

Search results