\App\IqrfNetModule\FormsBondingFormFactory

IQMESH Bonding form factory

Summary

Methods
Properties
Constants
__construct()
create()
addBond()
clearAllBonds()
removeBond()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
getBondingMethods()
addSmartConnectInputs()
$manager
$factory
$presenter
N/A

Properties

$manager

$manager : \App\IqrfNetModule\Models\BondingManager

Type

normal — IQMESH Bonding manager

$factory

$factory : \App\CoreModule\Forms\FormFactory

Type

normal — Generic form factory

$presenter

$presenter : \App\IqrfNetModule\Presenters\NetworkPresenter

Type

normal — IQMESH Network manager presenter

Methods

__construct()

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

Constructor

Parameters

\App\CoreModule\Forms\FormFactory $factory

Generic form factory

\App\IqrfNetModule\Models\BondingManager $manager

IQMESH Bonding manager

Returns

mixed

create()

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

Creates IQMESH bonding form

Parameters

\App\IqrfNetModule\Presenters\NetworkPresenter $presenter

IQMESH Network manager presenter

Returns

\Nette\Application\UI\Form —

IQMESH bonding form

addBond()

addBond(\Nette\Forms\Controls\SubmitButton  $button) : void

Adds a new bond

Parameters

\Nette\Forms\Controls\SubmitButton $button

Submit button for adding a new bond

clearAllBonds()

clearAllBonds(\Nette\Forms\Controls\SubmitButton  $button) : void

Clears all bonds

Parameters

\Nette\Forms\Controls\SubmitButton $button

Submit button for cleaning al bonds

removeBond()

removeBond(\Nette\Forms\Controls\SubmitButton  $button) : void

Removes a bond

Parameters

\Nette\Forms\Controls\SubmitButton $button

Submit button for removing a bond

getBondingMethods()

getBondingMethods() : array

Returns bonding methods

Returns

array —

Bonding methods

addSmartConnectInputs()

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

Add inputs fo IQRF SmartConnect

Parameters

\Nette\Application\UI\Form $form

IQMESH Bonding form