\App\ConfigModule\DatagridsComponentsDataGridFactory

Render a components data grid

Summary

Methods
Properties
Constants
__construct()
create()
changeStatus()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

__construct()

__construct(\App\ConfigModule\Datagrids\DataGridFactory  dataGridFactory, \App\ConfigModule\Datagrids\ComponentManager  componentManager) : 

Constructor

Parameters

\App\ConfigModule\Datagrids\DataGridFactory dataGridFactory

Generic data grid factory

\App\ConfigModule\Datagrids\ComponentManager componentManager

Component manager

Returns

create()

create(\App\ConfigModule\Datagrids\ComponentPresenter  presenter,   name) : \App\ConfigModule\Datagrids\DataGrid

Create component data grid

Parameters

\App\ConfigModule\Datagrids\ComponentPresenter presenter

Component configuration presenter

name

Data grid's component name

Throws

\App\ConfigModule\Datagrids\DataGridColumnStatusException
\App\ConfigModule\Datagrids\DataGridException
\App\ConfigModule\Datagrids\JsonException

Returns

\App\ConfigModule\Datagrids\DataGrid —

Component data grid

changeStatus()

changeStatus(  id,   status) : 

Change status of the component

Parameters

id

Component ID

status

New component's status

Throws

\App\ConfigModule\Datagrids\JsonException

Returns