AssetsController
class AssetsController extends ActionController (View source)
Rudimentary REST service for assets
Traits
A trait to add backend translation based on the backend users settings
Properties
protected Service | $_localizationService | from BackendUserTranslationTrait | |
protected UserService | $_userService | from BackendUserTranslationTrait | |
protected AssetRepository | $assetRepository | ||
protected TagRepository | $tagRepository | ||
protected bool | $asyncThumbnails | ||
protected array | $viewFormatToObjectNameMap | ||
protected array | $supportedMediaTypes | A list of IANA media types which are supported by this controller |
Methods
void
initializeObject()
Set the locale according to the user settings
void
initializeView(ViewInterface $view)
No description
string
indexAction(string $searchTerm = '')
Shows a list of assets
string
showAction(string $identifier)
Shows a specific asset
Details
protected void
initializeObject()
Set the locale according to the user settings
void
initializeView(ViewInterface $view)
No description
string
indexAction(string $searchTerm = '')
Shows a list of assets
string
showAction(string $identifier)
Shows a specific asset