phpDocumentor

DeleteServiceDeleterDatabase implements DeleteServiceDeleterInterface

Class DeleteServiceDeleterDatabase

Interfaces, Classes and Traits

DeleteServiceDeleterInterface
Interface DeleteServiceDeleterInterface

Table of Contents

IMAGE_LIST_ATTRIBUTES_TABLE_NAME  = 'product_image_list_attribute'
IMAGE_LIST_COMBINATION_TABLE_NAME  = 'product_image_list_combi'
IMAGE_LIST_IDENTIFIER  = "product_image_list_id"
IMAGE_LIST_IMAGE_IDENTIFIER  = "product_image_list_image_id"
IMAGE_LIST_IMAGE_TABLE_NAME  = "product_image_list_image"
IMAGE_LIST_IMAGE_TEXT_TABLE_NAME  = "product_image_list_image_text"
IMAGE_LIST_TABLE_NAME  = "product_image_list"
$queryBuilder  : CI_DB_query_builder
__construct()  : mixed
DeleteServiceDeleterDatabase constructor.
deleteImageById()  : bool
deleteImageByImageListId()  : bool
Delete multiple images by related ImageList id
deleteImageListById()  : bool
deleteImageListCombiAssignment()  : void
deleteImageListRelationsById()  : void
Unlink image list from any attribute or combination
deleteImageTextByImageId()  : bool
deleteImageTextByImageListId()  : bool
getImageImageListId()  : int|null
getImageListUsageCountForAttributes()  : int
getImageListUsageCountForCombinations()  : int
getImageListUsageCount()  : int
getModifierIdentifierByType()  : string
concatQuery()  : string

Constants

Properties

Methods

__construct()

DeleteServiceDeleterDatabase constructor.

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

deleteImageById()

public deleteImageById(int ...$ids) : bool
Parameters
$ids : int
Tags
inheritDoc
Return values
bool

deleteImageByImageListId()

Delete multiple images by related ImageList id

public deleteImageByImageListId(int $id) : bool
Parameters
$id : int
Tags
inheritDoc
Return values
bool

deleteImageListById()

public deleteImageListById(int $id) : bool
Parameters
$id : int
Tags
inheritDoc
Return values
bool

deleteImageListCombiAssignment()

public deleteImageListCombiAssignment(int $combisId) : void
Parameters
$combisId : int
Tags
inheritDoc
Return values
void

deleteImageListRelationsById()

Unlink image list from any attribute or combination

public deleteImageListRelationsById(int $listId) : void
Parameters
$listId : int
Tags
inheritDoc
Return values
void

deleteImageTextByImageId()

public deleteImageTextByImageId(int ...$ids) : bool
Parameters
$ids : int
Tags
inheritDoc
Return values
bool

deleteImageTextByImageListId()

public deleteImageTextByImageListId(int ...$imageListIds) : bool
Parameters
$imageListIds : int
Tags
inheritDoc
Return values
bool

getImageImageListId()

public getImageImageListId(int $imageId) : int|null
Parameters
$imageId : int
Tags
inheritDoc
Return values
int|null

getImageListUsageCountForAttributes()

public getImageListUsageCountForAttributes(int $listId, int|null $againstId) : int
Parameters
$listId : int
$againstId : int|null
Tags
inheritDoc
Return values
int

getImageListUsageCountForCombinations()

public getImageListUsageCountForCombinations(int $listId, int|null $againstId) : int
Parameters
$listId : int
$againstId : int|null
Tags
inheritDoc
Return values
int

getImageListUsageCount()

protected getImageListUsageCount(int $listId, string $tableName, int|null $againstId) : int
Parameters
$listId : int
$tableName : string
$againstId : int|null
Return values
int

getModifierIdentifierByType()

protected getModifierIdentifierByType(string $type) : string
Parameters
$type : string
Return values
string

concatQuery()

private concatQuery(array<string|int, mixed> $array[, string $glue = " " ]) : string
Parameters
$array : array<string|int, mixed>
$glue : string = " "
Return values
string

Search results