Properties

$versionManager

$versionManager : \App\CoreModule\Models\VersionManager

Type

normal — Version manager

$lang

$lang : string

Type

normal — Language

$translator

$translator : \Nette\Localization\ITranslator

Type

\Nette\Localization\ITranslator — Translator

$diagnosticsManager

$diagnosticsManager : \App\GatewayModule\Models\DiagnosticsManager

Type

normal — IQRF Gateway Diagnostic manager

$infoManager

$infoManager : \App\GatewayModule\Models\InfoManager

Type

normal — IQRF Gateway Info manager

$gwModeManager

$gwModeManager : \App\IqrfNetModule\Models\GwModeManager

Type

normal — IQRF Gateway Daemon's mode manager

$networkManager

$networkManager : \App\GatewayModule\Models\NetworkManager

Type

normal — Network manager

$swVersionManager

$swVersionManager : \App\GatewayModule\Models\VersionManager

Type

normal — Version manager

Methods

afterRender()

afterRender() : void

After template render

checkRequirements()

checkRequirements(mixed  $element) : void

Checks requirements

Parameters

mixed $element

Element

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

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 —

Translator

createTemplate()

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

Creates an template

Returns

\Nette\Application\UI\ITemplate —

Template

__construct()

__construct(\App\GatewayModule\Models\InfoManager  $infoManager, \App\GatewayModule\Models\DiagnosticsManager  $diagnosticsManager, \App\IqrfNetModule\Models\GwModeManager  $gwModeManager, \App\GatewayModule\Models\NetworkManager  $networkManager, \App\GatewayModule\Models\VersionManager  $versionManager) : mixed

Constructor

Parameters

\App\GatewayModule\Models\InfoManager $infoManager

IQRF Gateway Info manager

\App\GatewayModule\Models\DiagnosticsManager $diagnosticsManager

IQRF Gateway Diagnostic manager

\App\IqrfNetModule\Models\GwModeManager $gwModeManager

IQRF Gateway Daemon's mode manager

\App\GatewayModule\Models\NetworkManager $networkManager

Network manager

\App\GatewayModule\Models\VersionManager $versionManager

Version manager

Returns

mixed

renderDefault()

renderDefault() : void

Renders IQRF Gateway Info page

Throws

\Nette\Utils\JsonException

actionDownload()

actionDownload() : void

Handles download IQRF Gateway Daemon's log action

Throws

\Nette\Utils\JsonException