AjaxController
Admin Panel Ajax Controller - Route endpoint for ajax actions
Table of Contents
Properties
- $adminPanelModuleConfiguration : array<string|int, mixed>
Methods
- __construct() : mixed
- saveDataAction() : JsonResponse
- Save adminPanel data
- toggleActiveState() : JsonResponse
- Toggle admin panel active state via UC
- getBackendUser() : BackendUserAuthentication
Properties
$adminPanelModuleConfiguration
protected
array<string|int, mixed>
$adminPanelModuleConfiguration
Methods
__construct()
public
__construct(ConfigurationService $configurationService, ModuleLoader $moduleLoader) : mixed
Parameters
- $configurationService : ConfigurationService
- $moduleLoader : ModuleLoader
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()
protected
getBackendUser() : BackendUserAuthentication