\App\CloudModule\FormsPixlaFormFactory

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
$manager
$presenter
N/A

Constants

PREFIX

PREFIX = 'cloud.pixla.form' : 

PIXLA platform form prefix

Properties

$factory

$factory : \App\CoreModule\Forms\FormFactory

Type

normal — Generic form factory

$manager

$manager : \App\CloudModule\Models\PixlaManager

Type

normal

$presenter

$presenter : \App\CloudModule\Presenters\PixlaPresenter

Type

normal — PIXLA platform presenter

Methods

__construct()

__construct(\App\CoreModule\Forms\FormFactory  $factory, \App\CloudModule\Models\PixlaManager  $manager) : mixed

Constructor

Parameters

\App\CoreModule\Forms\FormFactory $factory

Generic form factory

\App\CloudModule\Models\PixlaManager $manager

PIXLA platform manager

Returns

mixed

create()

create(\App\CloudModule\Presenters\PixlaPresenter  $presenter) : \Nette\Application\UI\Form

Creates the PIXLA platform form

Parameters

\App\CloudModule\Presenters\PixlaPresenter $presenter

Presenter for the PIXLA platform

Returns

\Nette\Application\UI\Form —

PIXLA platform form

save()

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

Saves the new PIXLA platform token.

Parameters

\Nette\Application\UI\Form $form

Form