Overview
  • Package
  • Class
  • Tree
  • Todo

Packages

  • AddonValue
    • Interfaces
  • ApiV2Controllers
  • Category
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Providers
    • Repositories
    • Storages
  • Customer
    • Address
    • Country
    • CountryZone
    • Interfaces
    • Validation
    • ValueObjects
  • Email
    • Collections
    • Entities
    • Exceptions
    • Interfaces
    • Repository
    • ValueObjects
  • Http
    • Collections
    • Exceptions
    • Factories
    • Interfaces
    • ValueObjects
  • Loaders
    • CrossCuttingLoader
    • GXCoreLoader
    • Interfaces
  • None
  • Order
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
    • Storages
    • ValueObjects
  • Product
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Providers
    • Repositories
    • Storages
  • ProductModule
    • Collections
    • Deleter
    • Entities
    • Factories
    • Interface
    • Interfaces
    • Reader
    • Repositories
    • Writer
  • Shared
    • Exceptions
    • FileSystem
    • Interfaces
    • Storage
    • Types
  • Statistics
    • Interfaces
  • UserConfiguration
    • Interfaces
    • Repository

Interfaces

  • ProductCategoryLinkerInterface
  • ProductFactoryInterface
  • ProductImageContainerInterface
  • ProductImageContainerRepositoryInterface
  • ProductImageInterface
  • ProductImagePathsSettingsInterface
  • ProductImageProcessingInterface
  • ProductInterface
  • ProductListProviderFactoryInterface
  • ProductListProviderInterface
  • ProductObjectServiceInterface
  • ProductPermissionSetterInterface
  • ProductReadServiceInterface
  • ProductRepositoryDeleterInterface
  • ProductRepositoryInterface
  • ProductRepositoryReaderInterface
  • ProductRepositoryWriterInterface
  • ProductSettingsInterface
  • ProductSettingsRepositoryInterface
  • ProductSettingsRepositoryReaderInterface
  • ProductSettingsRepositoryWriterInterface
  • ProductWriteServiceInterface
  • StoredProductInterface

Interface ProductImageContainerInterface

Interface ProductImageContainerInterface

Direct known implementers

ProductImageContainer

Package: Product\Interfaces
Category: System
Located at CoreServices/Product/Entities/Interfaces/ProductImageContainerInterface.php

Methods summary

public ProductImageContainerInterface
# setPrimary( ProductImageInterface $image )

Sets the primary image of the image container.

Sets the primary image of the image container.

Parameters

$image
Primary product image to set.

Returns

ProductImageContainerInterface
Same instance for chained method calls.
public ProductImageInterface
# getPrimary( )

Returns the primary product image from the image container.

Returns the primary product image from the image container.

Returns

ProductImageInterface
The requested primary product image from container.
public ProductImageContainerInterface
# addAdditional( ProductImageInterface $image )

Adds an additional image to the container.

Adds an additional image to the container.

Parameters

$image
Additional product image to add to the container.

Returns

ProductImageContainerInterface
Same instance for chained method calls.
public ProductImageCollection
# getAdditionals( )

Returns the collection of additional images from the image container.

Returns the collection of additional images from the image container.

Returns

ProductImageCollection
The requested additional images from the image container.
public ProductImageContainerInterface
# replaceAdditional( FilenameStringType $imageFile, ProductImageInterface $image )

Replaces an additional product image in the container.

Replaces an additional product image in the container.

Parameters

$imageFile
Image filename.
$image
Image to place.

Returns

ProductImageContainerInterface
Same instance for chained method calls.
public ProductImageContainerInterface
# delete( FilenameStringType $imageFile )

Deletes an image from the image container.

Deletes an image from the image container.

Parameters

$imageFile
Image filename.

Returns

ProductImageContainerInterface
Same instance for chained method calls.
API documentation generated by ApiGen