프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$assetCollectionRepository | |||
$assetRepository | |||
$entityToIdentityConverter | |||
$imageInterfaceArrayPresenter | |||
$imageRepository | Neos\Media\Domain\Repository\ImageRepository | ||
$persistenceManager | Neos\Flow\Persistence\PersistenceManagerInterface | ||
$pluginService | The pluginService | ||
$resourceManager | |||
$siteRepository | |||
$thumbnailService |
메소드 | 설명 | |
---|---|---|
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. |
메소드 | 설명 | |
---|---|---|
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 | |
리턴 | string | JSON encoded response |
public createImageVariantAction ( |
||
$asset | ||
리턴 | string |
protected getAssetProperties ( |
||
$asset | ||
리턴 | array |
protected getImageInterfacePreviewData ( Neos\Media\Domain\Model\ImageInterface $image ) : array | ||
$image | Neos\Media\Domain\Model\ImageInterface | The image to retrieve meta data for |
리턴 | array |
protected getImagePreviewData ( |
||
$image | ||
리턴 | array |
protected getImageVariantPreviewData ( |
||
$imageVariant | ||
리턴 | array |
public imageWithMetadataAction ( Neos\Media\Domain\Model\ImageInterface $image ) : string | ||
$image | Neos\Media\Domain\Model\ImageInterface | |
리턴 | string | JSON encoded response |
protected initializeAssetsWithMetadataAction ( ) : void | ||
리턴 | void |
public initializeCreateImageVariantAction ( ) : void | ||
리턴 | 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 |
리턴 | 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 |
리턴 | string |
public uploadAssetAction ( |
||
$asset | ||
$metadata | string | Type of metadata to return ("Asset" or "Image") |
리턴 | string |
protected AssetCollectionRepository,Neos\Media\Domain\Repository $assetCollectionRepository | ||
리턴 |
protected AssetRepository,Neos\Media\Domain\Repository $assetRepository | ||
리턴 |
protected EntityToIdentityConverter,Neos\Neos\TypeConverter $entityToIdentityConverter | ||
리턴 |
protected ImageInterfaceArrayPresenter,Neos\Media\TypeConverter $imageInterfaceArrayPresenter | ||
리턴 |
protected ImageRepository,Neos\Media\Domain\Repository $imageRepository | ||
리턴 | Neos\Media\Domain\Repository\ImageRepository |
protected PersistenceManagerInterface,Neos\Flow\Persistence $persistenceManager | ||
리턴 | Neos\Flow\Persistence\PersistenceManagerInterface |
protected PluginService,Neos\Neos\Service $pluginService | ||
리턴 |
protected ResourceManager,Neos\Flow\ResourceManagement $resourceManager | ||
리턴 |
protected SiteRepository,Neos\Neos\Domain\Repository $siteRepository | ||
리턴 |