\App\ConfigModule\FormsGenericConfigFormFactory

Generic configuration form factory

Summary

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

Properties

$manager

$manager : \App\ConfigModule\Models\GenericManager

Type

normal — Generic config manager

$factory

$factory : \App\CoreModule\Forms\FormFactory

Type

normal — Generic form factory

$presenter

$presenter : \App\CoreModule\Presenters\ProtectedPresenter

Type

normal — Generic protected presenter

$redirect

$redirect : string

Type

normal — The presenter to redirect after save

Methods

__construct()

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

Constructor

Parameters

\App\ConfigModule\Models\GenericManager $manager

Generic configuration manager

\App\CoreModule\Forms\FormFactory $factory

Generic form factory

Returns

mixed

save()

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

Saves the generic configuration

Parameters

\Nette\Application\UI\Form $form

Configuration form

Throws

\Nette\Utils\JsonException