Properties

$versionManager

$versionManager : \App\CoreModule\Models\VersionManager

Type

normal — Version manager

$lang

$lang : string

Type

normal — Language

$basicDataGridFactory

$basicDataGridFactory : \App\ConfigModule\Datagrids\WebSocketDataGridFactory

Type

normal — WebSocket interface data grid factory

$basicFormFactory

$basicFormFactory : \App\ConfigModule\Forms\WebSocketFormFactory

Type

normal — WebSocket instance configuration form factory

$messagingDataGridFactory

$messagingDataGridFactory : \App\ConfigModule\Datagrids\WebSocketMessagingDataGridFactory

Type

normal — WebSocket messaging configuration data grid factory

$messagingFormFactory

$messagingFormFactory : \App\ConfigModule\Forms\WebSocketMessagingFormFactory

Type

normal — WebSocket messaging configuration form factory

$serviceDataGridFactory

$serviceDataGridFactory : \App\ConfigModule\Datagrids\WebSocketServiceDataGridFactory

Type

normal — WebSocket service configuration data grid

$serviceFormFactory

$serviceFormFactory : \App\ConfigModule\Forms\WebSocketServiceFormFactory

Type

normal — WebSocket service configuration form factory

$components

$components : string[]

Type

normal — WebSocket components

$configManager

$configManager : \App\ConfigModule\Models\GenericManager

Type

normal — Generic configuration manager

$translator

$translator : \Nette\Localization\ITranslator

Type

\Nette\Localization\ITranslator — Translator

$webSocketManager

$webSocketManager : \App\ConfigModule\Models\WebSocketManager

Type

normal — WebSocket manager

Methods

__construct()

__construct(\App\ConfigModule\Models\GenericManager  $genericManager, \App\ConfigModule\Models\WebSocketManager  $webSocketManager) : mixed

Constructor

Parameters

\App\ConfigModule\Models\GenericManager $genericManager

Generic configuration manager

\App\ConfigModule\Models\WebSocketManager $webSocketManager

Websocket configuration manager

Returns

mixed

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

checkRequirements()

checkRequirements(mixed  $element) : void

Checks requirements

Parameters

mixed $element

Element

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(int  $id) : void

Edits the WebSocket interface

Parameters

int $id

ID of WebSocket interface

renderEditMessaging()

renderEditMessaging(int  $id) : void

Edits the WebSocket messaging

Parameters

int $id

ID of WebSocket messaging

renderEditService()

renderEditService(int  $id) : void

Edits the Websocket service

Parameters

int $id

ID of WebSocket service

actionDelete()

actionDelete(int  $id) : void

Deletes the WebSocket interface

Parameters

int $id

ID of WebSocket interface

Throws

\Nette\Utils\JsonException

actionDeleteMessaging()

actionDeleteMessaging(int  $id) : void

Deletes the WebSocket messaging

Parameters

int $id

ID of WebSocket messaging

Throws

\Nette\Utils\JsonException

actionDeleteService()

actionDeleteService(int  $id) : void

Deletes the WebSocket service

Parameters

int $id

ID of WebSocket service

Throws

\Nette\Utils\JsonException

startup()

startup() : void

Checks if the files are readable

createComponentConfigWebSocketDataGrid()

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

Creates the WebSocket interfaces data grid

Parameters

string $name

Data grid's component name

Throws

\Ublaboo\DataGrid\Exception\DataGridColumnStatusException
\Ublaboo\DataGrid\Exception\DataGridException
\Nette\Utils\JsonException

Returns

\Ublaboo\DataGrid\DataGrid —

WebSocket interfaces data grid

createComponentConfigWebSocketForm()

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

Creates the WebSocket interface configuration form

Throws

\Nette\Utils\JsonException

Returns

\Nette\Application\UI\Form —

WebSocket interface configuration form

createComponentConfigWebSocketMessagingDataGrid()

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

Creates the WebSocket messaging data grid

Parameters

string $name

Data grid's component name

Throws

\Ublaboo\DataGrid\Exception\DataGridColumnStatusException
\Ublaboo\DataGrid\Exception\DataGridException
\Nette\Utils\JsonException

Returns

\Ublaboo\DataGrid\DataGrid —

WebSocket messaging data grid

createComponentConfigWebSocketMessagingForm()

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

Creates the WebSocket messaging configuration form

Throws

\Nette\Utils\JsonException

Returns

\Nette\Application\UI\Form —

WebSocket messaging configuration form

createComponentConfigWebSocketServiceDataGrid()

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

Creates the WebSocket service data grid

Parameters

string $name

Data grid's component name

Throws

\Nette\Utils\JsonException
\Ublaboo\DataGrid\Exception\DataGridException
\Ublaboo\DataGrid\Exception\DataGridColumnStatusException

Returns

\Ublaboo\DataGrid\DataGrid —

WebSocket service data grid

createComponentConfigWebSocketServiceForm()

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

Creates WebSocket service configuration form

Throws

\Nette\Utils\JsonException

Returns

\Nette\Application\UI\Form —

WebSocket service configuration form

checkInstanceFiles()

checkInstanceFiles() : void

Checks the component's instance files

Throws

\Nette\Utils\JsonException