Свойство | Type | Description | |
---|---|---|---|
$assetCollectionRepository | |||
$assetRepository | |||
$entityToIdentityConverter | |||
$imageInterfaceArrayPresenter | |||
$imageRepository | Neos\Media\Domain\Repository\ImageRepository | ||
$persistenceManager | Neos\Flow\Persistence\PersistenceManagerInterface | ||
$pluginService | The pluginService | ||
$resourceManager | |||
$siteRepository | |||
$thumbnailService |
Méthode | Description | |
---|---|---|
assetsWithMetadataAction ( array $assets ) : string | Fetch the metadata for multiple assets | |
createImageVariantAction ( |
Generate a new image variant from given data. | |
imageWithMetadataAction ( Neos\Media\Domain\Model\ImageInterface $image ) : string | Fetch the metadata for a given image | |
initializeCreateImageVariantAction ( ) : void | Configure property mapping for adding a new image variant. | |
initializeUploadAssetAction ( ) | Initialize property mapping as the upload usually comes from the Inspector JavaScript | |
masterPluginsAction ( string $workspaceName = 'live', array $dimensions = [] ) : string | Fetch all master plugins that are available in the current workspace. | |
pluginViewsAction ( string $identifier = null, string $workspaceName = 'live', array $dimensions = [] ) : string | Fetch the configured views for the given master plugin | |
uploadAssetAction ( |
Upload a new image, and return its metadata. |
Méthode | Description | |
---|---|---|
getAssetProperties ( |
||
getImageInterfacePreviewData ( Neos\Media\Domain\Model\ImageInterface $image ) : array | Returns important meta data for the given object implementing ImageInterface. | |
getImagePreviewData ( |
||
getImageVariantPreviewData ( |
||
initializeAssetsWithMetadataAction ( ) : void |
public assetsWithMetadataAction ( array $assets ) : string | ||
$assets | array | |
Résultat | string | JSON encoded response |
public createImageVariantAction ( |
||
$asset | ||
Résultat | string |
protected getAssetProperties ( |
||
$asset | ||
Résultat | array |
protected getImageInterfacePreviewData ( Neos\Media\Domain\Model\ImageInterface $image ) : array | ||
$image | Neos\Media\Domain\Model\ImageInterface | The image to retrieve meta data for |
Résultat | array |
protected getImagePreviewData ( |
||
$image | ||
Résultat | array |
protected getImageVariantPreviewData ( |
||
$imageVariant | ||
Résultat | array |
public imageWithMetadataAction ( Neos\Media\Domain\Model\ImageInterface $image ) : string | ||
$image | Neos\Media\Domain\Model\ImageInterface | |
Résultat | string | JSON encoded response |
protected initializeAssetsWithMetadataAction ( ) : void | ||
Résultat | void |
public initializeCreateImageVariantAction ( ) : void | ||
Résultat | void |
public initializeUploadAssetAction ( ) |
public masterPluginsAction ( string $workspaceName = 'live', array $dimensions = [] ) : string | ||
$workspaceName | string | Name of the workspace to use for querying the node |
$dimensions | array | Optional list of dimensions and their values which should be used for querying the specified node |
Résultat | string | JSON encoded array of node path => label |
public pluginViewsAction ( string $identifier = null, string $workspaceName = 'live', array $dimensions = [] ) : string | ||
$identifier | string | Specifies the node to look up |
$workspaceName | string | Name of the workspace to use for querying the node |
$dimensions | array | Optional list of dimensions and their values which should be used for querying the specified node |
Résultat | string |
public uploadAssetAction ( |
||
$asset | ||
$metadata | string | Type of metadata to return ("Asset" or "Image") |
Résultat | string |
protected AssetCollectionRepository,Neos\Media\Domain\Repository $assetCollectionRepository | ||
Résultat |
protected AssetRepository,Neos\Media\Domain\Repository $assetRepository | ||
Résultat |
protected EntityToIdentityConverter,Neos\Neos\TypeConverter $entityToIdentityConverter | ||
Résultat |
protected ImageInterfaceArrayPresenter,Neos\Media\TypeConverter $imageInterfaceArrayPresenter | ||
Résultat |
protected ImageRepository,Neos\Media\Domain\Repository $imageRepository | ||
Résultat | Neos\Media\Domain\Repository\ImageRepository |
protected PersistenceManagerInterface,Neos\Flow\Persistence $persistenceManager | ||
Résultat | Neos\Flow\Persistence\PersistenceManagerInterface |
protected PluginService,Neos\Neos\Service $pluginService | ||
Résultat |
protected ResourceManager,Neos\Flow\ResourceManagement $resourceManager | ||
Résultat |
protected SiteRepository,Neos\Neos\Domain\Repository $siteRepository | ||
Résultat |