phpDocumentor

ProductMainImageProvider
in package

Table of Contents

getImage()  : SellingUnitImageInterface|null
getInitialSlideIndex()  : int
application()  : Application
getDefaultImages()  : SellingUnitImageCollectionInterface
getIndexOfFirstNewImage()  : false|int|string
hasProductVariants()  : bool
sellingUnitIdFactory()  : SellingUnitIdFactoryInterface
sellingUnitReadService()  : SellingUnitReadServiceInterface

Methods

getImage()

public static getImage(string $productIdentifier[, int|null $languageId = null ]) : SellingUnitImageInterface|null
Parameters
$productIdentifier : string
$languageId : int|null = null
Return values
SellingUnitImageInterface|null

getInitialSlideIndex()

public static getInitialSlideIndex(string $productIdentifier, SellingUnitImageCollectionInterface $sellingUnitImages[, int|null $languageId = null ]) : int
Parameters
$productIdentifier : string
$sellingUnitImages : SellingUnitImageCollectionInterface
$languageId : int|null = null
Return values
int

getIndexOfFirstNewImage()

protected static getIndexOfFirstNewImage(array<string|int, mixed> $imageUrls, array<string|int, mixed> $defaultImageUrls) : false|int|string
Parameters
$imageUrls : array<string|int, mixed>
$defaultImageUrls : array<string|int, mixed>
Return values
false|int|string

hasProductVariants()

protected static hasProductVariants(string $productIdentifier) : bool
Parameters
$productIdentifier : string
Return values
bool

sellingUnitIdFactory()

protected static sellingUnitIdFactory() : SellingUnitIdFactoryInterface
Return values
SellingUnitIdFactoryInterface

sellingUnitReadService()

protected static sellingUnitReadService() : SellingUnitReadServiceInterface
Return values
SellingUnitReadServiceInterface

Search results