PHP Class Pimcore\Model\Asset\Image\Thumbnail\Processor

Afficher le fichier Open project: pimcore/pimcore Class Usage Examples

Protected Properties

Свойство Type Description
$argumentMapping

Méthodes publiques

Méthode Description
getAllowedFormat ( $format, array $allowed = [], string $fallback = "png" ) : string
process ( $asset, Config $config, null $fileSystemPath = null, boolean $deferred = false, boolean $returnAbsolutePath = false, boolean &$generated = false ) : mixed | string
processOptimizeQueue ( )

Méthodes protégées

Méthode Description
returnPath ( $path, $absolute ) : mixed

Method Details

getAllowedFormat() public static méthode

public static getAllowedFormat ( $format, array $allowed = [], string $fallback = "png" ) : string
$format
$allowed array
$fallback string
Résultat string

process() public static méthode

public static process ( $asset, Config $config, null $fileSystemPath = null, boolean $deferred = false, boolean $returnAbsolutePath = false, boolean &$generated = false ) : mixed | string
$asset
$config Config
$fileSystemPath null
$deferred boolean deferred means that the image will be generated on-the-fly (details see below)
$returnAbsolutePath boolean
$generated boolean
Résultat mixed | string

processOptimizeQueue() public static méthode

public static processOptimizeQueue ( )

returnPath() protected static méthode

protected static returnPath ( $path, $absolute ) : mixed
$path
$absolute
Résultat mixed

Property Details

$argumentMapping protected_oe static_oe property

protected static $argumentMapping