Properties

$versionManager

$versionManager : \App\CoreModule\Models\VersionManager

Type

normal — Version manager

$lang

$lang : string

Type

normal — Language

$changeAddressForm

$changeAddressForm : \App\IqrfNetModule\Forms\ChangeAddressFormFactory

Type

normal — Change device address form

$trFormFactory

$trFormFactory : \App\IqrfNetModule\Forms\TrConfigFormFactory

Type

normal — IQRF RF configuration form

$securityFormFactory

$securityFormFactory : \App\IqrfNetModule\Forms\SecurityFormFactory

Type

normal — IQMESH Security configuration form

$translator

$translator : \Nette\Localization\ITranslator

Type

\Nette\Localization\ITranslator — Translator

$manager

$manager : \App\IqrfNetModule\Models\TrConfigManager

Type

normal — IQRF TR configuration manager

$cache

$cache : \Nette\Caching\Cache

Type

\Nette\Caching\Cache — Cache

$enumerationManager

$enumerationManager : \App\IqrfNetModule\Models\EnumerationManager

Type

normal — IQRF TR enumeration 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\IqrfNetModule\Models\EnumerationManager  $enumerationManager, \Nette\Caching\IStorage  $storage) : mixed

Constructor

Parameters

\App\IqrfNetModule\Models\EnumerationManager $enumerationManager

IQRF TR enumeration manager

\Nette\Caching\IStorage $storage

Cache storage

Returns

mixed

loadConfiguration()

loadConfiguration(int  $address) : void

Loads TR configuration

Parameters

int $address

TR address

renderDefault()

renderDefault(int  $address) : void

Renders TR configuration page

Parameters

int $address

TR address

createComponentIqrfNetAddressForm()

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

Create the change a network device address form

Returns

\Nette\Application\UI\Form —

Change a network device address form

createComponentIqrfNetTrForm()

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

Createa the IQRF TR configuration form

Returns

\Nette\Application\UI\Form —

IQRF TR configuration form

createComponentIqrfNetSecurityForm()

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

Creates the IQMESH Security configuration form

Returns

\Nette\Application\UI\Form —

IQMESH Security configuration form