phpDocumentor

CustomerGroupDeleter implements CustomerGroupDeleterInterface

Class CustomerGroupDeleter

Tags
category

System

subpackage

Repositories

Interfaces, Classes and Traits

CustomerGroupDeleterInterface
Interface CustomerGroupDeleterInterface

Table of Contents

$queryBuilder  : CI_DB_query_builder
__construct()  : mixed
delete()  : $this|CustomerGroupDeleterInterface
Deletes customer group entity data in database with personal offer table.
_changeCustomersStatusIdToDefault()  : $this
Change customers status id.
_deleteCustomersStatusTableRow()  : $this
Deletes customer status row by id.
_dropGroupPermissionColumn()  : $this
Drops group permission column by id and given table name.
_dropPersonalOffersTable()  : $this
Drops personal offers table by id.

Properties

Methods

__construct()

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

_changeCustomersStatusIdToDefault()

Change customers status id.

protected _changeCustomersStatusIdToDefault( $customerGroupId) : $this
Parameters
$customerGroupId :
Return values
$this

_deleteCustomersStatusTableRow()

Deletes customer status row by id.

protected _deleteCustomersStatusTableRow( $customerGroupId) : $this
Parameters
$customerGroupId :

int

Return values
$this

_dropGroupPermissionColumn()

Drops group permission column by id and given table name.

protected _dropGroupPermissionColumn( $customerGroupId,  $table) : $this
Parameters
$customerGroupId :
$table :
Return values
$this

_dropPersonalOffersTable()

Drops personal offers table by id.

protected _dropPersonalOffersTable( $customerGroupId) : $this
Parameters
$customerGroupId :

int

Return values
$this

Search results