\App\ConfigModule\FormsMainFormFactory

Main configuration form factory

Summary

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

Properties

$manager

$manager : \App\ConfigModule\Models\MainManager

Type

normal — Main configuration manager

$factory

$factory : \App\CoreModule\Forms\FormFactory

Type

normal — Generic form factory

$presenter

$presenter : \App\ConfigModule\Presenters\MainPresenter

Type

normal — Main configuration presenter

Methods

__construct()

__construct(\App\CoreModule\Forms\FormFactory  $factory, \App\ConfigModule\Models\MainManager  $manager) : mixed

Constructor

Parameters

\App\CoreModule\Forms\FormFactory $factory

Generic form factory

\App\ConfigModule\Models\MainManager $manager

Main configuration manager

Returns

mixed

create()

create(\App\ConfigModule\Presenters\MainPresenter  $presenter) : \Nette\Application\UI\Form

Creates the main configuration form

Parameters

\App\ConfigModule\Presenters\MainPresenter $presenter

Main configuration presenter

Throws

\Nette\Utils\JsonException

Returns

\Nette\Application\UI\Form —

Main configuration form

save()

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

Saves the main configuration

Parameters

\Nette\Application\UI\Form $form

Main configuration form

Throws

\Nette\Utils\JsonException