CpDisplayAjaxController
extends Controller
in package
Controller for ajax actions related to displays
Table of Contents
- $blockCache : BlockCacheService
- $blockProviders : BlockProvidersService
- $blocks : BlockService
- $displays : DisplayService
- $fieldDisplayers : FieldDisplayerService
- $fields : FieldsService
- $groups : GroupsService
- $layouts : LayoutService
- $registry : ThemesRegistry
- $viewModes : ViewModeService
- actionValidateFieldOptions() : array<string|int, mixed>
- Validate field options
- afterAction() : mixed
- beforeAction() : mixed
- init() : mixed
Properties
$blockCache
protected
BlockCacheService
$blockCache
$blockProviders
protected
BlockProvidersService
$blockProviders
$blocks
protected
BlockService
$blocks
$displays
protected
DisplayService
$displays
$fieldDisplayers
protected
FieldDisplayerService
$fieldDisplayers
$fields
protected
FieldsService
$fields
$groups
protected
GroupsService
$groups
$layouts
protected
LayoutService
$layouts
$registry
protected
ThemesRegistry
$registry
$viewModes
protected
ViewModeService
$viewModes
Methods
actionValidateFieldOptions()
Validate field options
public
actionValidateFieldOptions() : array<string|int, mixed>
Return values
array<string|int, mixed> —afterAction()
public
afterAction(mixed $action, mixed $result) : mixed
Parameters
- $action : mixed
- $result : mixed
Tags
Return values
mixed —beforeAction()
public
beforeAction(mixed $action) : mixed
Parameters
- $action : mixed
Tags
Return values
mixed —init()
public
init() : mixed