\App\CloudModule\FormsInteliGlueFormFactory

Form for creating MQTT connection into Inteliments InteliGlue

Summary

Methods
Properties
Constants
__construct()
save()
create()
No public properties found
No constants found
No protected methods found
$factory
$presenter
N/A
No private methods found
$manager
$serviceManager
N/A

Properties

$factory

$factory : \App\CoreModule\Forms\FormFactory

Type

normal — Generic form factory

$presenter

$presenter : \App\CoreModule\Presenters\ProtectedPresenter

Type

normal — Protected presenter

$manager

$manager : \App\CloudModule\Models\IManager

Type

normal — Cloud service manager

$serviceManager

$serviceManager : \App\ServiceModule\Models\ServiceManager

Type

normal — Service manager

Methods

__construct()

__construct(\App\CloudModule\Models\InteliGlueManager  $manager, \App\CoreModule\Forms\FormFactory  $factory, \App\ServiceModule\Models\ServiceManager  $serviceManager) : mixed

Constructor

Parameters

\App\CloudModule\Models\InteliGlueManager $manager

Inteliments InteliGlue manager

\App\CoreModule\Forms\FormFactory $factory

Generic form factory

\App\ServiceModule\Models\ServiceManager $serviceManager

Service manager

Returns

mixed

save()

save(\Nette\Forms\Controls\SubmitButton  $button, bool  $needRestart = false) : void

Saves the MQTT interface

Parameters

\Nette\Forms\Controls\SubmitButton $button

Form's submit button

bool $needRestart

Is restart needed?

create()

create(\App\CloudModule\Presenters\InteliGluePresenter  $presenter) : \Nette\Application\UI\Form

Creates the Inteliments InteliGlue form

Parameters

\App\CloudModule\Presenters\InteliGluePresenter $presenter

Inteliments InteliGlue presenter

Returns

\Nette\Application\UI\Form —

Inteliments InteliGlue form