phpDocumentor

ProductImageContainer
in package
implements ProductImageContainerInterface

Class ProductImageContainer

Tags
category

System

subpackage

Entities

Interfaces, Classes and Traits

ProductImageContainerInterface
Interface ProductImageContainerInterface

Table of Contents

$additionalImages  : array<string|int, mixed>
Additional image associative array.
$primaryImage  : ProductImage
Primary image.
__construct()  : mixed
ProductImageContainer constructor.
addAdditional()  : ProductImageContainer
Adds an additional image to the additional images array.
delete()  : ProductImageContainer
Deletes an image from the additional images array.
getAdditionals()  : ProductImageCollection
Returns the array of additional images as a collection.
getPrimary()  : ProductImageInterface
Returns the product primary image from container.
replaceAdditional()  : ProductImageContainer
Replaces an additional product image in the container.
setPrimary()  : ProductImageContainer
Sets the primary image of the image container.

Properties

$additionalImages

Additional image associative array.

protected array<string|int, mixed> $additionalImages

Methods

__construct()

ProductImageContainer constructor.

public __construct() : mixed
Return values
mixed

Search results