\App\CoreModule\FormsUserEditFormFactory

Edit an existing user form factory

Summary

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

Constants

PREFIX

PREFIX = 'core.user' : 

Translation prefix

Properties

$factory

$factory : \App\CoreModule\Forms\FormFactory

Type

normal — Generic form factory

$id

$id : int

Type

normal — User ID

$presenter

$presenter : \App\CoreModule\Presenters\UserPresenter

Type

normal — User manager presenter

$userManager

$userManager : \App\CoreModule\Models\UserManager

Type

normal — User manager

Methods

__construct()

__construct(\App\CoreModule\Forms\FormFactory  $factory, \App\CoreModule\Models\UserManager  $userManager) : mixed

Constructor

Parameters

\App\CoreModule\Forms\FormFactory $factory

Generic form factory

\App\CoreModule\Models\UserManager $userManager

User manager

Returns

mixed

create()

create(\App\CoreModule\Presenters\UserPresenter  $presenter) : \Nette\Application\UI\Form

Creates edit an existing user form

Parameters

\App\CoreModule\Presenters\UserPresenter $presenter

User manager presenter

Returns

\Nette\Application\UI\Form —

Edit an existing user form

save()

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

Saves the user info

Parameters

\Nette\Application\UI\Form $form

Edit an existing user form