Property | Type | Description | |
---|---|---|---|
$assetCollectionRepository | |||
$assetRepository | |||
$assetService | |||
$browserState | |||
$packageManager | Neos\Flow\Package\PackageManagerInterface | ||
$tagRepository | |||
$translator | |||
$viewFormatToObjectNameMap | array |
Method | Description | |
---|---|---|
addAssetToCollectionAction ( |
Adds an asset to an asset collection | |
addFlashMessage ( string $messageBody, string $messageTitle = '', string $severity = Message::SEVERITY_OK, array $messageArguments = [], integer $messageCode = null ) : void | Add a translated flashMessage. | |
createAction ( |
Create a new asset | |
createAssetCollectionAction ( string $title ) : void | ||
createTagAction ( string $label ) : void | ||
deleteAction ( |
Delete an asset | |
deleteAssetCollectionAction ( |
||
deleteTagAction ( |
||
editAction ( |
Edit an asset | |
editAssetCollectionAction ( |
||
editTagAction ( |
||
indexAction ( string $view = null, string $sortBy = null, string $sortDirection = null, string $filter = null, integer $tagMode = self::TAG_GIVEN, |
List existing assets | |
newAction ( ) : void | New asset form | |
replaceAssetResourceAction ( |
||
tagAssetAction ( |
Tags an asset with a tag. | |
updateAction ( |
Update an asset | |
updateAssetCollectionAction ( |
||
updateAssetResourceAction ( Neos\Media\Domain\Model\AssetInterface $asset, |
Replace the resource on an asset. | |
updateTagAction ( |
||
uploadAction ( |
Upload a new asset. No redirection and no response body, for use by plupload (or similar). |
Method | Description | |
---|---|---|
initializeCreateAction ( ) : void | Initialization for createAction | |
initializeUpdateAction ( ) : void | ||
initializeUploadAction ( ) : void | Initialization for uploadAction | |
initializeView ( Neos\Flow\Mvc\View\ViewInterface $view ) : void | Set common variables on the view | |
maximumFileUploadSize ( ) : integer | Returns the lowest configured maximum upload file size |
public addAssetToCollectionAction ( |
||
$asset | ||
$assetCollection | ||
return | boolean |
public addFlashMessage ( string $messageBody, string $messageTitle = '', string $severity = Message::SEVERITY_OK, array $messageArguments = [], integer $messageCode = null ) : void | ||
$messageBody | string | The translation id for the message body. |
$messageTitle | string | The translation id for the message title. |
$severity | string | |
$messageArguments | array | |
$messageCode | integer | |
return | void |
public createAction ( |
||
$asset | ||
return | void |
public createAssetCollectionAction ( string $title ) : void | ||
$title | string | |
return | void |
public createTagAction ( string $label ) : void | ||
$label | string | |
return | void |
public deleteAction ( |
||
$asset | ||
return | void |
public deleteAssetCollectionAction ( |
||
$assetCollection | ||
return | void |
public deleteTagAction ( |
||
$tag | ||
return | void |
public editAction ( |
||
$asset | ||
return | void |
public editAssetCollectionAction ( |
||
$assetCollection | ||
return | void |
public editTagAction ( |
||
$tag | ||
return | void |
public indexAction ( string $view = null, string $sortBy = null, string $sortDirection = null, string $filter = null, integer $tagMode = self::TAG_GIVEN, |
||
$view | string | |
$sortBy | string | |
$sortDirection | string | |
$filter | string | |
$tagMode | integer | |
$tag | ||
$searchTerm | string | |
$collectionMode | integer | |
$assetCollection | ||
return | void |
protected initializeCreateAction ( ) : void | ||
return | void |
protected initializeUploadAction ( ) : void | ||
return | void |
protected initializeView ( Neos\Flow\Mvc\View\ViewInterface $view ) : void | ||
$view | Neos\Flow\Mvc\View\ViewInterface | |
return | void |
protected maximumFileUploadSize ( ) : integer | ||
return | integer |
public replaceAssetResourceAction ( |
||
$asset | ||
return | void |
public tagAssetAction ( |
||
$asset | ||
$tag | ||
return | boolean |
public updateAction ( |
||
$asset | ||
return | void |
public updateAssetCollectionAction ( |
||
$assetCollection | ||
return | void |
public updateAssetResourceAction ( Neos\Media\Domain\Model\AssetInterface $asset, |
||
$asset | Neos\Media\Domain\Model\AssetInterface | |
$resource | ||
$options | array | |
return | void |
public updateTagAction ( |
||
$tag | ||
return | void |
public uploadAction ( |
||
$asset | ||
return | string |
protected AssetCollectionRepository,Neos\Media\Domain\Repository $assetCollectionRepository | ||
return |
protected AssetRepository,Neos\Media\Domain\Repository $assetRepository | ||
return |
protected AssetService,Neos\Media\Domain\Service $assetService | ||
return |
protected BrowserState,Neos\Media\Domain\Session $browserState | ||
return |
protected PackageManagerInterface,Neos\Flow\Package $packageManager | ||
return | Neos\Flow\Package\PackageManagerInterface |
protected TagRepository,Neos\Media\Domain\Repository $tagRepository | ||
return |
protected Translator,Neos\Flow\I18n $translator | ||
return |
protected array $viewFormatToObjectNameMap | ||
return | array |