Свойство | Type | Description | |
---|---|---|---|
$async | boolean | ||
$configuration | array |
||
$configurationHash | string | ||
$generatorStrategy | |||
$originalAsset | |||
$resource | |||
$staticResource | Supports the 'resource://Package.Key/Public/File' format |
Méthode | Description | |
---|---|---|
__construct ( Neos\Media\Domain\Model\AssetInterface $originalAsset, |
Constructs a new Thumbnail | |
getConfigurationValue ( string $value ) : mixed | ||
getOriginalAsset ( ) : Neos\Media\Domain\Model\ImageInterface | Returns the Asset this thumbnail is derived from | |
getResource ( ) : |
PersistentResource of this thumbnail | |
getStaticResource ( ) : string | ||
initializeObject ( integer $initializationCause ) : void | Initializes this thumbnail | |
refresh ( ) : void | Refreshes this asset after the PersistentResource has been modified | |
setHeight ( integer $height ) : void | ||
setResource ( |
||
setStaticResource ( string $staticResource ) : void | ||
setWidth ( integer $width ) : void |
Méthode | Description | |
---|---|---|
emitThumbnailCreated ( |
Signals that a thumbnail was created. | |
setConfiguration ( |
public __construct ( Neos\Media\Domain\Model\AssetInterface $originalAsset, |
||
$originalAsset | Neos\Media\Domain\Model\AssetInterface | The original asset this variant is derived from |
$configuration |
protected emitThumbnailCreated ( |
||
$thumbnail | ||
Résultat | void |
public getConfigurationValue ( string $value ) : mixed | ||
$value | string | |
Résultat | mixed |
public getOriginalAsset ( ) : Neos\Media\Domain\Model\ImageInterface | ||
Résultat | Neos\Media\Domain\Model\ImageInterface |
public getResource ( ) : |
||
Résultat |
public initializeObject ( integer $initializationCause ) : void | ||
$initializationCause | integer | |
Résultat | void |
protected setConfiguration ( |
||
$configuration | ||
Résultat | void |
public setResource ( |
||
$resource | ||
Résultat | void |
public setStaticResource ( string $staticResource ) : void | ||
$staticResource | string | |
Résultat | void |
protected ThumbnailGeneratorStrategy,Neos\Media\Domain\Strategy $generatorStrategy | ||
Résultat |
protected Asset,Neos\Media\Domain\Model $originalAsset | ||
Résultat |
protected PersistentResource,Neos\Flow\ResourceManagement $resource | ||
Résultat |