Class ProductImageContainerRepository
category |
System |
---|---|
package |
Product |
subpackage |
Repositories |
__construct(\CI_DB_query_builder $db, \LanguageProviderInterface $languageProvider)
_getAdditionalImagesAltText(\ProductImageInterface $additionalImage, \IdType $productId, \IdType $imageId)
Throws |
|
---|
_getPrimaryImageAltText(\ProductImageInterface $primaryImage, \IdType $productId)
Throws |
|
---|
_queryAdditionalImages(\IdType $productId) : array
_queryPrimaryImage(\IdType $productId) : array
_saveAdditionalImagesAltText(\ProductImageContainerInterface $imageContainer, \IdType $productId)
Throws |
|
---|
_savePrimaryImageAltText(\ProductImageContainerInterface $imageContainer, \IdType $productId)
Throws |
|
---|
deleteByProductId(\IdType $productId) : \ProductImageContainerRepository
getByProductId(\IdType $productId) : \ProductImageContainerInterface
Throws |
|
---|
\ProductImageContainerInterface
Product image container.
store(\IdType $productId, \ProductImageContainerInterface $imageContainer) : \ProductImageContainerRepository
Throws |
|
---|
\ProductImageContainerRepository
Same instance for method chaining.
db : \CI_DB_query_builder
var |
---|
\CI_DB_query_builder
languageProvider : \LanguageProviderInterface