Свойство | Type | Description | |
---|---|---|---|
$imageService | |||
$persistenceManager | Neos\Flow\Persistence\PersistenceManagerInterface | ||
$presets | boolean | ||
$resourceManager | |||
$systemLogger | Neos\Flow\Log\SystemLoggerInterface | ||
$thumbnailCache | array | ||
$thumbnailRepository |
Méthode | Description | |
---|---|---|
getPresets ( ) : array | ||
getThumbnail ( Neos\Media\Domain\Model\AssetInterface $asset, |
Returns a thumbnail of the given asset | |
getThumbnailConfigurationForPreset ( string $preset, boolean $async = false ) : |
||
getUriForThumbnail ( Neos\Media\Domain\Model\ImageInterface $thumbnail ) : string | ||
refreshThumbnail ( |
Refreshes a thumbnail and persists the thumbnail |
Méthode | Description | |
---|---|---|
emitThumbnailCreated ( |
Signals that a thumbnail was created. |
protected emitThumbnailCreated ( |
||
$thumbnail | ||
Résultat | void |
public getPresets ( ) : array | ||
Résultat | array | Returns preset configuration for all presets |
public getThumbnail ( Neos\Media\Domain\Model\AssetInterface $asset, |
||
$asset | Neos\Media\Domain\Model\AssetInterface | The asset to render a thumbnail for |
$configuration | ||
Résultat | Neos\Media\Domain\Model\ImageInterface |
public getThumbnailConfigurationForPreset ( string $preset, boolean $async = false ) : |
||
$preset | string | The preset identifier |
$async | boolean | |
Résultat |
public getUriForThumbnail ( Neos\Media\Domain\Model\ImageInterface $thumbnail ) : string | ||
$thumbnail | Neos\Media\Domain\Model\ImageInterface | |
Résultat | string |
public refreshThumbnail ( |
||
$thumbnail | ||
Résultat | void |
protected ImageService,Neos\Media\Domain\Service $imageService | ||
Résultat |
protected PersistenceManagerInterface,Neos\Flow\Persistence $persistenceManager | ||
Résultat | Neos\Flow\Persistence\PersistenceManagerInterface |
protected ResourceManager,Neos\Flow\ResourceManagement $resourceManager | ||
Résultat |
protected SystemLoggerInterface,Neos\Flow\Log $systemLogger | ||
Résultat | Neos\Flow\Log\SystemLoggerInterface |