\App\CoreModule\DatagridsUserDataGridFactory

Render an user data grid

Summary

Methods
Properties
Constants
__construct()
create()
changeRole()
changeLanguage()
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\CoreModule\Datagrids\DataGridFactory  dataGridFactory, \App\CoreModule\Datagrids\UserManager  manager) : 

Constructor

Parameters

\App\CoreModule\Datagrids\DataGridFactory dataGridFactory

Generic data grid factory

\App\CoreModule\Datagrids\UserManager manager

User manager

Returns

create()

create(\App\CoreModule\Datagrids\UserPresenter  presenter,   name) : \App\CoreModule\Datagrids\DataGrid

Create user data grid

Parameters

\App\CoreModule\Datagrids\UserPresenter presenter

User presenter

name

Data grid's component name

Throws

\App\CoreModule\Datagrids\DataGridColumnStatusException
\App\CoreModule\Datagrids\DataGridException

Returns

\App\CoreModule\Datagrids\DataGrid —

User data grid

changeRole()

changeRole(  id,   role) : 

Change user's role

Parameters

id

User ID

role

User's role

Returns

changeLanguage()

changeLanguage(  id,   language) : 

Change user's language

Parameters

id

User ID

language

User's language

Returns