class AssetCollectionController extends ActionController (View source)

Controller for tag handling

Traits

A trait to add backend translation based on the backend users settings

Properties

protected Translator $_translator from  AddFlashMessageTrait
protected AssetCollectionRepository $assetCollectionRepository
protected BrowserState $browserState
protected SiteRepository $siteRepository
protected TagRepository $tagRepository

Methods

void
addFlashMessage(string $messageBody, string $messageTitle = '', string $severity = Message::SEVERITY_OK, array $messageArguments = [], int $messageCode = null)

Add a translated flashMessage.

initializeView(ViewInterface $view)

No description

void
createAction(string $title)

No description

void
editAction(AssetCollection $assetCollection)

No description

void
updateAction(AssetCollection $assetCollection)

No description

void
deleteAction(AssetCollection $assetCollection)

No description

Details

void addFlashMessage(string $messageBody, string $messageTitle = '', string $severity = Message::SEVERITY_OK, array $messageArguments = [], int $messageCode = null)

Add a translated flashMessage.

Parameters

string $messageBody

The translation id for the message body.

string $messageTitle

The translation id for the message title.

string $severity
array $messageArguments
int $messageCode

Return Value

void

protected initializeView(ViewInterface $view)

No description

Parameters

ViewInterface $view

void createAction(string $title)

No description

Parameters

string $title

Return Value

void

void editAction(AssetCollection $assetCollection)

No description

Parameters

AssetCollection $assetCollection

Return Value

void

void updateAction(AssetCollection $assetCollection)

No description

Parameters

AssetCollection $assetCollection

Return Value

void

void deleteAction(AssetCollection $assetCollection)

No description

Parameters

AssetCollection $assetCollection

Return Value

void