\App\CloudModule\FormsAwsFormFactory

Form for creating MQTT connection into Amazon AWS IoT

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\AwsManager  $manager, \App\CoreModule\Forms\FormFactory  $factory, \App\ServiceModule\Models\ServiceManager  $serviceManager) : mixed

Constructor

Parameters

\App\CloudModule\Models\AwsManager $manager

Amazon AWS IoT 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\AwsPresenter  $presenter) : \Nette\Application\UI\Form

Creates the Amazon AWS IoT form

Parameters

\App\CloudModule\Presenters\AwsPresenter $presenter

Amazon AWS IoT presenter

Returns

\Nette\Application\UI\Form —

Amazon AWS IoT form