\App\ConfigModule\PresentersComponentPresenter

Component configuration presenter

Summary

Methods
Properties
Constants
afterRender()
injectTranslator()
createTemplate()
__construct()
actionDefault()
renderDefault()
renderEdit()
actionDelete()
$versionManager
$lang
$dataGridFactory
$formFactory
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$versionManager

$versionManager : \App\CoreModule\Presenters\VersionManager

Type

\App\CoreModule\Presenters\VersionManager — Version manager

$lang

$lang : 

Type

— Language

$dataGridFactory

$dataGridFactory : \App\ConfigModule\Presenters\ComponentsDataGridFactory

Type

\App\ConfigModule\Presenters\ComponentsDataGridFactory — Daemon's components data grid

$formFactory

$formFactory : \App\ConfigModule\Presenters\ComponentsFormFactory

Type

\App\ConfigModule\Presenters\ComponentsFormFactory — Daemon's components configuration form factory

Methods

afterRender()

afterRender() : 

After template render

Returns

injectTranslator()

injectTranslator(\App\CoreModule\Presenters\Translator  translator) : 

Inject translator service

Parameters

\App\CoreModule\Presenters\Translator translator

Translator

Returns

createTemplate()

createTemplate() : \App\CoreModule\Presenters\ITemplate

Create an template

Returns

\App\CoreModule\Presenters\ITemplate —

Template

__construct()

__construct(\App\ConfigModule\Presenters\ComponentManager  componentManager) : 

Constructor

Parameters

\App\ConfigModule\Presenters\ComponentManager componentManager

Component manager

Returns

actionDefault()

actionDefault() : 

Catch exceptions

Returns

renderDefault()

renderDefault() : 

Render list of components

Throws

\App\ConfigModule\Presenters\JsonException

Returns

renderEdit()

renderEdit(  id) : 

Edit component

Parameters

id

Component ID

Returns

actionDelete()

actionDelete(  id) : 

Delete component

Parameters

id

Component ID

Throws

\App\ConfigModule\Presenters\JsonException

Returns