Properties

$versionManager

$versionManager : \App\CoreModule\Models\VersionManager

Type

normal — Version manager

$lang

$lang : string

Type

normal — Language

$binaryOutputForm

$binaryOutputForm : \App\IqrfNetModule\Forms\StandardBinaryOutputFormFactory

Type

normal — IQRF Standard binary output form factory

$daliForm

$daliForm : \App\IqrfNetModule\Forms\StandardDaliFormFactory

Type

normal — IQRF Standard DALI form factory

$lightForm

$lightForm : \App\IqrfNetModule\Forms\StandardLightFormFactory

Type

normal — IQRF Standard light form factory

$sensorForm

$sensorForm : \App\IqrfNetModule\Forms\StandardSensorFormFactory

Type

normal — IQRF Standard sensor form factory

$translator

$translator : \Nette\Localization\ITranslator

Type

\Nette\Localization\ITranslator — Translator

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 —

Transtalor

createTemplate()

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

Creates an template

Returns

\Nette\Application\UI\ITemplate —

Template

handleBinaryOutputResponse()

handleBinaryOutputResponse(array  $data) : void

AJAX handler for showing IQRF Standard binary output info

Parameters

array $data

API request and response

handleDaliResponse()

handleDaliResponse(array  $data) : void

AJAX handler for showing IQRF Standard DALI info

Parameters

array $data

API request and response

handleLightResponse()

handleLightResponse(array  $data) : void

AJAX handler for showing IQRF Standard light info

Parameters

array $data

API request and response

renderDefault()

renderDefault() : void

Renders the default page

handleSensorResponse()

handleSensorResponse(array  $data) : void

AJAX handler for showing IQRF Standard sensor info

Parameters

array $data

API request and response

createComponentBinaryOutputForm()

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

Creates the IQRF Standard binary output form

Returns

\Nette\Application\UI\Form —

IQRF Standard binary output form

createComponentDaliForm()

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

Creates the IQRF Standard DALI form

Returns

\Nette\Application\UI\Form —

IQRF Standard DALI form

createComponentLightForm()

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

Creates the IQRF Standard light form

Returns

\Nette\Application\UI\Form —

IQRF Standard light form

createComponentSensorForm()

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

Creates the IQRF Standard sensor form

Returns

\Nette\Application\UI\Form —

IQRF Standard sensor form