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

Classes

  • EmptyProductImage
  • EnvProductImageFileStorageSettings
  • GXEngineProduct
  • LegacyProductImageProcessing
  • ProductImage
  • ProductImageContainer
  • ProductListItem
  • ProductSettings
  • StoredProduct

Class EmptyProductImage

Class EmptyProductImage

ProductImage implements ProductImageInterface
Extended by EmptyProductImage
Package: Product\Entities
Category: System
Located at CoreServices/Product/Entities/EmptyProductImage.inc.php

Methods summary

public
# __construct( FilenameStringType $filename,… )

ProductImage constructor.

ProductImage constructor.

Parameters

$filename,…
Filename of the image.

Overrides

ProductImage::__construct
public string
# getAltText( LanguageCode $language )

Get Alt Text

Get Alt Text

Returns the alternative text of a product image if a name is already set, otherwise an empty string will be returned.

Parameters

$language
The language code of the alt text to return.

Returns

string
The alternative text of the product image.

Throws

InvalidArgumentException
if the language code is not valid.

Overrides

ProductImage::getAltText

Methods inherited from ProductImage

getFilename(), isVisible(), setAltText(), setVisible()

Properties summary

Properties inherited from ProductImage

$altTexts, $filename, $productVisibility

API documentation generated by ApiGen