AjaxController
Admin Panel Ajax Controller - Route endpoint for ajax actions
Table of Contents
Properties
- $adminPanelModuleConfiguration : array<string|int, mixed>
- $moduleLoader : ModuleLoader
Methods
- __construct() : mixed
- saveDataAction() : JsonResponse
- Save adminPanel data
- toggleActiveState() : JsonResponse
- Toggle admin panel active state via UC
- getBackendUser() : BackendUserAuthentication
- Returns the current BE user.
Properties
$adminPanelModuleConfiguration
protected
array<string|int, mixed>
$adminPanelModuleConfiguration
$moduleLoader
protected
ModuleLoader
$moduleLoader
Methods
__construct()
public
__construct([ConfigurationService|null $configurationService = null ][, ModuleLoader|null $moduleLoader = null ]) : mixed
Parameters
- $configurationService : ConfigurationService|null = null
- $moduleLoader : ModuleLoader|null = null
saveDataAction()
Save adminPanel data
public
saveDataAction(ServerRequestInterface $request) : JsonResponse
Parameters
- $request : ServerRequestInterface
Return values
JsonResponsetoggleActiveState()
Toggle admin panel active state via UC
public
toggleActiveState() : JsonResponse
Return values
JsonResponsegetBackendUser()
Returns the current BE user.
protected
getBackendUser() : BackendUserAuthentication