class Download extends AbstractFrontendAction

Class Download

Traits

Class DisplayActionTrait

Properties

protected ContainerInterface $container from AbstractWidgetAction
protected EventDispatcherInterface $eventDispatcher from AbstractWidgetAction
protected ACL $acl from AbstractWidgetAction
protected UserModel $user from AbstractWidgetAction
protected Translator $translator from AbstractWidgetAction
protected Modules $modules from AbstractWidgetAction
protected RequestInterface $request from AbstractWidgetAction
protected RouterInterface $router from AbstractWidgetAction
protected Validator $validator from AbstractWidgetAction
protected View $view from AbstractWidgetAction
protected SettingsInterface $config from AbstractWidgetAction
protected ApplicationPath $appPath from AbstractWidgetAction
protected Response $response from AbstractWidgetAction
protected ResultsPerPage $resultsPerPage from AbstractWidgetAction
protected Assets $assets from AbstractFrontendAction
protected Steps $breadcrumb from AbstractFrontendAction
protected Title $title from AbstractFrontendAction
protected Action $actionHelper from AbstractFrontendAction
protected Date $date
protected StringFormatter $stringFormatter
protected FilesRepository $filesRepository
protected Cache $filesCache

Methods

Response
display(Response|string|array $actionResult)

Outputs the requested module controller action

string
applyTemplateAutomatically()

No description

Response
getResponse()

No description

getView()

No description

string
getContentType()

Gibt den Content-Type der anzuzeigenden Seiten zurück

$this
setContentType(string $data)

Weist der aktuell auszugebenden Seite den Content-Type zu

string
getCharset()

No description

$this
setCharset(string $charset)

No description

string|false
getContent()

Gibt den auszugebenden Seiteninhalt zurück

$this
setContent(string|false $data)

Weist dem Template den auszugebenden Inhalt zu

string
getTemplate()

Gibt das aktuell zugewiesene Template zurück

$this
setTemplate(string $template)

Setzt das Template der Seite

__construct(WidgetContext $context, Date $date, StringFormatter $stringFormatter, FilesRepository $filesRepository, Cache $filesCache)

No description

$this
preDispatch()

Helper function for initializing models, etc.

mixed
get(string $serviceId)

No description

string
getApplicationMode()

No description

string
fetchLayoutViaInheritance()

No description

string
getLayout()

No description

$this
setLayout(string $layout)

No description

JsonResponse|RedirectResponse|Response
execute(int $id)

No description

Details

in DisplayActionTrait at line 32
Response display(Response|string|array $actionResult)

Outputs the requested module controller action

Parameters

Response|string|array $actionResult

Return Value

Response

in DisplayActionTrait at line 65
abstract protected string applyTemplateAutomatically()

Return Value

string

in DisplayActionTrait at line 70
abstract protected void addCustomTemplateVarsBeforeOutput()

Return Value

void

in DisplayActionTrait at line 75
abstract protected Response getResponse()

Return Value

Response

in DisplayActionTrait at line 80
abstract protected View getView()

Return Value

View

in DisplayActionTrait at line 87
string getContentType()

Gibt den Content-Type der anzuzeigenden Seiten zurück

Return Value

string

in DisplayActionTrait at line 99
$this setContentType(string $data)

Weist der aktuell auszugebenden Seite den Content-Type zu

Parameters

string $data

Return Value

$this

in DisplayActionTrait at line 109
string getCharset()

Return Value

string

in DisplayActionTrait at line 119
$this setCharset(string $charset)

Parameters

string $charset

Return Value

$this

in DisplayActionTrait at line 131
string|false getContent()

Gibt den auszugebenden Seiteninhalt zurück

Return Value

string|false

in DisplayActionTrait at line 143
$this setContent(string|false $data)

Weist dem Template den auszugebenden Inhalt zu

Parameters

string|false $data

Return Value

$this

in DisplayActionTrait at line 155
string getTemplate()

Gibt das aktuell zugewiesene Template zurück

Return Value

string

in DisplayActionTrait at line 167
$this setTemplate(string $template)

Setzt das Template der Seite

Parameters

string $template

Return Value

$this

at line 44
__construct(WidgetContext $context, Date $date, StringFormatter $stringFormatter, FilesRepository $filesRepository, Cache $filesCache)

Parameters

WidgetContext $context
Date $date
StringFormatter $stringFormatter
FilesRepository $filesRepository
Cache $filesCache

$this preDispatch()

Helper function for initializing models, etc.

Return Value

$this

Exceptions

AccessForbiddenException

in AbstractWidgetAction at line 129
mixed get(string $serviceId)

Parameters

string $serviceId

Return Value

mixed

in AbstractWidgetAction at line 168
protected SettingsInterface getSettings()

Return Value

SettingsInterface

in AbstractWidgetAction at line 176
protected string getApplicationMode()

Return Value

string

in AbstractWidgetAction at line 184
protected RequestInterface getRequest()

Return Value

RequestInterface

protected string fetchLayoutViaInheritance()

Return Value

string

in AbstractFrontendAction at line 142
string getLayout()

Return Value

string

in AbstractFrontendAction at line 151
$this setLayout(string $layout)

Parameters

string $layout

Return Value

$this

in AbstractFrontendAction at line 161
RedirectMessages redirectMessages()

Return Value

RedirectMessages

in AbstractFrontendAction at line 173
RedirectResponse redirect()

Return Value

RedirectResponse

at line 64
JsonResponse|RedirectResponse|Response execute(int $id)

Parameters

int $id

Return Value

JsonResponse|RedirectResponse|Response

Exceptions

ResultNotExistsException