Properties

$versionManager

$versionManager : \App\CoreModule\Models\VersionManager

Type

normal — Version manager

$lang

$lang : string

Type

normal — Language

$dataGridFactory

$dataGridFactory : \App\NetworkModule\Datagrids\EthernetDatagridFactory

Type

normal — Ethernet network connection datagrid

$formFactory

$formFactory : \App\NetworkModule\Forms\EthernetFormFactory

Type

normal — Ethernet network connection configuration form factory

$translator

$translator : \Nette\Localization\ITranslator

Type

\Nette\Localization\ITranslator — Translator

$commandManager

$commandManager : \App\CoreModule\Models\CommandManager

Type

normal — Command manager

Methods

__construct()

__construct(\App\CoreModule\Models\CommandManager  $commandManager) : mixed

Constructor

Parameters

\App\CoreModule\Models\CommandManager $commandManager

Command manager

Returns

mixed

checkRequirements()

checkRequirements(mixed  $element) : void

Checks requirements

Parameters

mixed $element

Element

afterRender()

afterRender() : void

After template render

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

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

renderEdit()

renderEdit(string  $uuid) : void

Edits the network connection configuration

Parameters

string $uuid

Network connection UUID

createComponentEthernetDataGrid()

createComponentEthernetDataGrid(string  $name) : \Ublaboo\DataGrid\DataGrid

Creates the Ethernet network connection data grid

Parameters

string $name

Component name

Throws

\Ublaboo\DataGrid\Exception\DataGridException

Returns

\Ublaboo\DataGrid\DataGrid —

Ethernet network connection data grid

createComponentEthernetForm()

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

Creates the Ethernet network configuration form

Returns

\Nette\Application\UI\Form —

Ethernet network configuration form