CustomerGroupDeleter

Implements \CustomerGroupDeleterInterface

Class CustomerGroupDeleter

category

System

package

CustomerGroup

subpackage

Repositories

Methods

__construct

__construct(\CI_DB_query_builder $queryBuilder) 

Arguments

$queryBuilder

\CI_DB_query_builder

Change customers status id.

_changeCustomersStatusIdToDefault( $customerGroupId) : $this

Arguments

$customerGroupId

Response

$this

Deletes customer status row by id.

_deleteCustomersStatusTableRow( $customerGroupId) : $this

Arguments

$customerGroupId

int

Response

$this

Drops group permission column by id and given table name.

_dropGroupPermissionColumn( $customerGroupId,  $table) : $this

Arguments

$customerGroupId

$table

Response

$this

Drops personal offers table by id.

_dropPersonalOffersTable( $customerGroupId) : $this

Arguments

$customerGroupId

int

Response

$this

Deletes customer group entity data in database with personal offer table.

delete(\CustomerGroup $customerGroup) : $this|\CustomerGroupDeleterInterface

Arguments

$customerGroup

\CustomerGroup

Customer group entity to be delete.

Response

$this|\CustomerGroupDeleterInterface

Same instance for chained method calls.

Properties

queryBuilder

queryBuilder : \CI_DB_query_builder
var

Type(s)

\CI_DB_query_builder