Properties

$lang

$lang : string

Type

normal — Language

$backlink

$backlink : string

Type

normal — Back link

$signInFactory

$signInFactory : \App\CoreModule\Forms\SignInFormFactory

Type

normal — Sign in form factory

$translator

$translator : \Nette\Localization\ITranslator

Type

\Nette\Localization\ITranslator — Translator

$userManager

$userManager : \App\CoreModule\Models\UserManager

Type

normal — User manager

Methods

flashInfo()

flashInfo(string  $message) : \stdClass

Saves the info flash message to template, that can be displayed after redirect or AJAX request

Parameters

string $message

Message

Returns

\stdClass —

Flash message object

flashSuccess()

flashSuccess(string  $message) : \stdClass

Saves the success flash message to template, that can be displayed after redirect or AJAX request

Parameters

string $message

Message

Returns

\stdClass —

Flash message object

flashWarning()

flashWarning(string  $message) : \stdClass

Saves the warning flash message to template, that can be displayed after redirect or AJAX request

Parameters

string $message

Message

Returns

\stdClass —

Flash message object

flashError()

flashError(string  $message) : \stdClass

Saves the error flash message to template, that can be displayed after redirect or AJAX request

Parameters

string $message

Message

Returns

\stdClass —

Flash message object

afterRender()

afterRender() : void

After template render

injectTranslator()

injectTranslator(\Nette\Localization\ITranslator  $translator) : void

Injects the translator service

Parameters

\Nette\Localization\ITranslator $translator

Translator

getTranslator()

getTranslator() : \Nette\Localization\ITranslator

Returns the translator

Returns

\Nette\Localization\ITranslator —

Transtalor

createTemplate()

createTemplate() : \Nette\Application\UI\ITemplate

Creates an template

Returns

\Nette\Application\UI\ITemplate —

Template

actionIn()

actionIn() : void

Signs user in

actionOut()

actionOut() : void

Signs user out

injectUserManager()

injectUserManager(\App\CoreModule\Models\UserManager  $userManager) : void

Injects the user manager

Parameters

\App\CoreModule\Models\UserManager $userManager

User manager

createComponentSignInForm()

createComponentSignInForm() : \Nette\Application\UI\Form

Creates the sign in form

Returns

\Nette\Application\UI\Form —

Sign in form

startup()

startup() : void

Starts up an base presenter