Class ProductImageContainerRepository
Class ProductImageContainerRepository
- ProductImageContainerRepository implements ProductImageContainerRepositoryInterface
Package: Product\Repositories
Category: System
Located at Services/Core/Product/Repositories/ProductImageContainerRepository.inc.php
Category: System
Located at Services/Core/Product/Repositories/ProductImageContainerRepository.inc.php
Methods summary
public
|
#
__construct( CI_DB_query_builder $db,
ProductImageContainerRepository constructor. |
public
|
#
store(
Stores the product image container. |
public
|
#
getByProductId(
Returns a product image container based on the product ID given. |
public
|
#
deleteByProductId(
Deletes a product image container based on the product ID given. |
protected
|
#
_saveAdditionalImagesAltText(
Saves alternative texts for additional images. |
protected
|
#
_savePrimaryImageAltText(
Saves alternative texts for the primary image. |
protected
|
#
_getPrimaryImageAltText(
Sets alternative texts for the primary image provided. |
protected
|
#
_getAdditionalImagesAltText(
Sets the alternative texts for an additional image. |
protected
array
|
|
protected
array
|
Properties summary
protected
CI_DB_query_builder
|
$db
Database connection. |
|
protected
|
$languageProvider
Used for fetching the language data. |