\App\ConfigModule\PresentersComponentPresenter

Component configuration presenter

Summary

Methods
Properties
Constants
afterRender()
checkRequirements()
injectTranslator()
getTranslator()
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

checkRequirements()

checkRequirements(  element) : 

Checks requirements

Parameters

element

Element

Returns

injectTranslator()

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

Injects the translator service

Parameters

\App\CoreModule\Presenters\ITranslator translator

Translator

Returns

getTranslator()

getTranslator() : \App\CoreModule\Presenters\ITranslator

Returns the translator

Returns

\App\CoreModule\Presenters\ITranslator —

Transtalor

createTemplate()

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

Creates 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() : 

Catches exceptions

Returns

renderDefault()

renderDefault() : 

Renders a list of components

Throws

\App\ConfigModule\Presenters\JsonException

Returns

renderEdit()

renderEdit(  id) : 

Edits the component

Parameters

id

Component ID

Returns

actionDelete()

actionDelete(  id) : 

Deletes the component

Parameters

id

Component ID

Throws

\App\ConfigModule\Presenters\JsonException

Returns