\App\IqrfNetModule\FormsTrConfigFormFactory

IQRF TR configuration form factory

Summary

Methods
Properties
Constants
__construct()
create()
save()
No public properties found
No constants found
No protected methods found
$configuration
$manager
$factory
$presenter
N/A
addRfConfiguration()
setRfChannelRule()
addRfpgwConfiguration()
addDpaEmbeddedPeripherals()
addDpaOtherConfiguration()
No private properties found
N/A

Properties

$configuration

$configuration : \stdClass

Type

\stdClass — TR configuration

$manager

$manager : \App\IqrfNetModule\Models\TrConfigManager

Type

normal — IQRF TR configuration manager

$factory

$factory : \App\CoreModule\Forms\FormFactory

Type

normal — Generic form factory

$presenter

$presenter : \App\IqrfNetModule\Presenters\TrConfigPresenter

Type

normal — IQRF TR configuration presenter presenter

Methods

__construct()

__construct(\App\CoreModule\Forms\FormFactory  $factory, \App\IqrfNetModule\Models\TrConfigManager  $manager) : mixed

Constructor

Parameters

\App\CoreModule\Forms\FormFactory $factory

Generic form factory

\App\IqrfNetModule\Models\TrConfigManager $manager

IQRF TR configuration manager

Returns

mixed

create()

create(\App\IqrfNetModule\Presenters\TrConfigPresenter  $presenter) : \Nette\Application\UI\Form

Creates IQRF TR configuration form

Parameters

\App\IqrfNetModule\Presenters\TrConfigPresenter $presenter

IQRF TR configuration presenter

Returns

\Nette\Application\UI\Form —

IQRF TR configuration form

save()

save(\Nette\Application\UI\Form  $form) : void

Writes IQRF TR configuration from the form

Parameters

\Nette\Application\UI\Form $form

Set TR configuration form

addRfConfiguration()

addRfConfiguration(\Nette\Application\UI\Form  $form) : void

Adds RF configuration to the form

Parameters

\Nette\Application\UI\Form $form

IQRF RF configuration form

setRfChannelRule()

setRfChannelRule(\Nette\Forms\Controls\TextInput  $input) : void

Sets rules for RF channel input

Parameters

\Nette\Forms\Controls\TextInput $input

RF channel input

addRfpgwConfiguration()

addRfpgwConfiguration(\Nette\Application\UI\Form  $form) : void

Adds RFPGM configuration to the form

Parameters

\Nette\Application\UI\Form $form

IQRF RF configuration form

addDpaEmbeddedPeripherals()

addDpaEmbeddedPeripherals(\Nette\Application\UI\Form  $form) : void

Adds embedded peripherals to the form

Parameters

\Nette\Application\UI\Form $form

DPA configuration form

addDpaOtherConfiguration()

addDpaOtherConfiguration(\Nette\Application\UI\Form  $form) : void

Add other configuration to the form

Parameters

\Nette\Application\UI\Form $form

DPA configuration form