Properties

$versionManager

$versionManager : \App\CoreModule\Models\VersionManager

Type

normal — Version manager

$lang

$lang : string

Type

normal — Language

$formFactory

$formFactory : \App\ConfigModule\Forms\JsonMngMetaDataApiFormFactory

Type

normal — JSON Metadata API form factory

$components

$components : string[]

Type

normal — IQRF Gateway Daemon's components

$configManager

$configManager : \App\ConfigModule\Models\GenericManager

Type

normal — Generic configuration manager

$translator

$translator : \Nette\Localization\ITranslator

Type

\Nette\Localization\ITranslator — Translator

Methods

__construct()

__construct(\App\ConfigModule\Models\GenericManager  $genericManager) : mixed

Constructor

Parameters

\App\ConfigModule\Models\GenericManager $genericManager

Generic configuration manager

Returns

mixed

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 files are readable

createComponentConfigJsonMngMetaDataApiForm()

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

Creates the JSON Metadata API configuration form

Throws

\Nette\Utils\JsonException

Returns

\Nette\Application\UI\Form —

JSON Metadata API configuration form

checkInstanceFiles()

checkInstanceFiles() : void

Checks the component's instance files

Throws

\Nette\Utils\JsonException