\App\IqrfNetModule\FormsTrUploadFormFactory

IQRF TR native upload form factory

Summary

Methods
Properties
Constants
__construct()
create()
upload()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
getFileFormats()
$factory
$presenter
$manager
N/A

Properties

$factory

$factory : \App\CoreModule\Forms\FormFactory

Type

normal — Generic form factory

$presenter

$presenter : \App\IqrfNetModule\Presenters\TrUploadPresenter

Type

normal — IQRF TR native upload presenter

$manager

$manager : \App\IqrfNetModule\Models\UploadManager

Type

normal — IQRF TR native upload manager

Methods

__construct()

__construct(\App\CoreModule\Forms\FormFactory  $factory, \App\IqrfNetModule\Models\UploadManager  $manager) : mixed

Constructor

Parameters

\App\CoreModule\Forms\FormFactory $factory

Generic form factory

\App\IqrfNetModule\Models\UploadManager $manager

IQRF TR native upload manager

Returns

mixed

create()

create(\App\IqrfNetModule\Presenters\TrUploadPresenter  $presenter) : \Nette\Application\UI\Form

Creates IQRF TR native upload form

Parameters

\App\IqrfNetModule\Presenters\TrUploadPresenter $presenter

IQRF TR native upload presenter

Returns

\Nette\Application\UI\Form —

IQRF TR native upload form

upload()

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

Uploads a file into IQRF TR

Parameters

\Nette\Application\UI\Form $form

IQRF TR native upload form

getFileFormats()

getFileFormats() : string[]

Returns File formats to upload

Returns

string[] —

File formats to upload