\App\CoreModule\FormsUserAddFormFactory

Register a new user form factory

Summary

Methods
Properties
Constants
__construct()
create()
add()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
getUserTypes()
getLanguages()
$factory
$presenter
$userManager
N/A

Properties

$factory

$factory : \App\CoreModule\Forms\FormFactory

Type

normal — Generic form factory

$presenter

$presenter : \App\CoreModule\Presenters\BasePresenter

Type

normal — Base 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\BasePresenter|\App\InstallModule\Presenters\CreateUserPresenter|\App\CoreModule\Presenters\UserPresenter  $presenter) : \Nette\Application\UI\Form

Creates register a new user form

Parameters

\App\CoreModule\Presenters\BasePresenter|\App\InstallModule\Presenters\CreateUserPresenter|\App\CoreModule\Presenters\UserPresenter $presenter

Base presenter

Returns

\Nette\Application\UI\Form —

Register a new user form

add()

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

Adds a new user

Parameters

\Nette\Application\UI\Form $form

Register a new user form

getUserTypes()

getUserTypes() : string[]

Gets user types

Returns

string[] —

User types

getLanguages()

getLanguages() : string[]

Gets languages

Returns

string[] —

Available languages