Properties

$versionManager

$versionManager : \App\CoreModule\Models\VersionManager

Type

normal — Version manager

$lang

$lang : string

Type

normal — Language

$dpaFormFactory

$dpaFormFactory : \App\IqrfNetModule\Forms\DpaUploadFormFactory

Type

normal — DPA upload form factory

$osFormFactory

$osFormFactory : \App\IqrfNetModule\Forms\OsDpaUploadFormFactory

Type

normal — IQRF OS upload form factory

$uploadFormFactory

$uploadFormFactory : \App\IqrfNetModule\Forms\TrUploadFormFactory

Type

normal — IQRF TR native upload form factory

$translator

$translator : \Nette\Localization\ITranslator

Type

\Nette\Localization\ITranslator — Translator

Methods

flashInfo()

flashInfo(string  $message) : \stdClass

Saves the info flash message to template, that can be displayed after redirect or AJAX request

Parameters

string $message

Message

Returns

\stdClass —

Flash message object

flashSuccess()

flashSuccess(string  $message) : \stdClass

Saves the success flash message to template, that can be displayed after redirect or AJAX request

Parameters

string $message

Message

Returns

\stdClass —

Flash message object

flashWarning()

flashWarning(string  $message) : \stdClass

Saves the warning flash message to template, that can be displayed after redirect or AJAX request

Parameters

string $message

Message

Returns

\stdClass —

Flash message object

flashError()

flashError(string  $message) : \stdClass

Saves the error flash message to template, that can be displayed after redirect or AJAX request

Parameters

string $message

Message

Returns

\stdClass —

Flash message object

afterRender()

afterRender() : void

After template render

checkRequirements()

checkRequirements(mixed  $element) : void

Checks requirements

Parameters

mixed $element

Element

injectTranslator()

injectTranslator(\Nette\Localization\ITranslator  $translator) : void

Injects the translator service

Parameters

\Nette\Localization\ITranslator $translator

Translator

getTranslator()

getTranslator() : \Nette\Localization\ITranslator

Returns the translator

Returns

\Nette\Localization\ITranslator —

Transtalor

createTemplate()

createTemplate() : \Nette\Application\UI\ITemplate

Creates an template

Returns

\Nette\Application\UI\ITemplate —

Template

startup()

startup() : void

Checks if the uploader is enabled

createComponentDpaUploadForm()

createComponentDpaUploadForm() : \Nette\Application\UI\Form

Creates DPA upload form

Returns

\Nette\Application\UI\Form —

DPA upload form

createComponentOsUploadForm()

createComponentOsUploadForm() : \Nette\Application\UI\Form

Creates IQRF OS upload form

Returns

\Nette\Application\UI\Form —

IQRF OS upload form

createComponentTrUploadForm()

createComponentTrUploadForm() : \Nette\Application\UI\Form

Creates IQRF TR native upload form

Returns

\Nette\Application\UI\Form —

IQRF TR native upload form