PHP Class Neos\Neos\Controller\Service\AssetsController

Inheritance: extends Neos\Flow\Mvc\Controller\ActionController, use trait Neos\Neos\Controller\BackendUserTranslationTrait
Afficher le fichier Open project: neos/neos-development-collection

Protected Properties

Свойство Type Description
$assetRepository Neos\Media\Domain\Repository\AssetRepository
$asyncThumbnails boolean
$supportedMediaTypes array A list of IANA media types which are supported by this controller
$tagRepository Neos\Media\Domain\Repository\TagRepository
$viewFormatToObjectNameMap array

Méthodes publiques

Méthode Description
indexAction ( string $searchTerm = '' ) : string Shows a list of assets
initializeView ( Neos\Flow\Mvc\View\ViewInterface $view ) : void
showAction ( string $identifier ) : string Shows a specific asset

Method Details

indexAction() public méthode

Shows a list of assets
public indexAction ( string $searchTerm = '' ) : string
$searchTerm string An optional search term used for filtering the list of assets
Résultat string

initializeView() public méthode

public initializeView ( Neos\Flow\Mvc\View\ViewInterface $view ) : void
$view Neos\Flow\Mvc\View\ViewInterface
Résultat void

showAction() public méthode

Shows a specific asset
public showAction ( string $identifier ) : string
$identifier string Specifies the asset to look up
Résultat string

Property Details

$assetRepository protected_oe property

protected AssetRepository,Neos\Media\Domain\Repository $assetRepository
Résultat Neos\Media\Domain\Repository\AssetRepository

$asyncThumbnails protected_oe property

protected bool $asyncThumbnails
Résultat boolean

$supportedMediaTypes protected_oe property

A list of IANA media types which are supported by this controller
See also: http://www.iana.org/assignments/media-types/index.html
protected array $supportedMediaTypes
Résultat array

$tagRepository protected_oe property

protected TagRepository,Neos\Media\Domain\Repository $tagRepository
Résultat Neos\Media\Domain\Repository\TagRepository

$viewFormatToObjectNameMap protected_oe property

protected array $viewFormatToObjectNameMap
Résultat array