TablesService
extends Service
in package
Table of Contents
- $_pivots : Collection
- getAllPivots() : Collection
- Get all table pivots
- getForTable() : array<string|int, FieldInterface>
- Get all pivots for a table field
- getTableForField() : Table|null
- Get parent table field for a field
- getTablePivotRecord() : TablePivotRecord
- Get a pivot record for a table and a field ids.
- blockCacheService() : BlockCacheService
- Get the block cache service
- blockProviderService() : BlockProvidersService
- Get the block providers service
- blocksService() : BlockService
- Get the blocks service
- displayService() : DisplayService
- Get the display service
- eagerLoadingService() : EagerLoadingService
- Get the eager loading service
- fieldDisplayersService() : FieldDisplayerService
- Get the field displayers service
- fieldsService() : FieldsService
- Get the fields service
- fileDisplayerService() : FileDisplayerService
- Get the file displayers service
- groupsService() : GroupsService
- Get the groups service
- layoutService() : LayoutService
- Get the layout service
- matrixService() : MatrixService
- Get the matrix service
- themesRegistry() : ThemesRegistry
- Get the themes registry
- triggerEvent() : mixed
- Triggers an event
- viewModesService() : ViewModeService
- Get the view mode service
- viewService() : ViewService
- Get the view service
Properties
$_pivots
private
Collection
$_pivots
Methods
getAllPivots()
Get all table pivots
public
getAllPivots() : Collection
Return values
Collection —getForTable()
Get all pivots for a table field
public
getForTable(Table $table) : array<string|int, FieldInterface>
Parameters
- $table : Table
Return values
array<string|int, FieldInterface> —getTableForField()
Get parent table field for a field
public
getTableForField(int $fieldId) : Table|null
Parameters
- $fieldId : int
Return values
Table|null —getTablePivotRecord()
Get a pivot record for a table and a field ids.
public
getTablePivotRecord(int $tableId, int $fieldId) : TablePivotRecord
Creates new one if it doesn't exist
Parameters
- $tableId : int
- $fieldId : int
Return values
TablePivotRecord —blockCacheService()
Get the block cache service
protected
blockCacheService() : BlockCacheService
Return values
BlockCacheService —blockProviderService()
Get the block providers service
protected
blockProviderService() : BlockProvidersService
Return values
BlockProvidersService —blocksService()
Get the blocks service
protected
blocksService() : BlockService
Return values
BlockService —displayService()
Get the display service
protected
displayService() : DisplayService
Return values
DisplayService —eagerLoadingService()
Get the eager loading service
protected
eagerLoadingService() : EagerLoadingService
Return values
EagerLoadingService —fieldDisplayersService()
Get the field displayers service
protected
fieldDisplayersService() : FieldDisplayerService
Return values
FieldDisplayerService —fieldsService()
Get the fields service
protected
fieldsService() : FieldsService
Return values
FieldsService —fileDisplayerService()
Get the file displayers service
protected
fileDisplayerService() : FileDisplayerService
Return values
FileDisplayerService —groupsService()
Get the groups service
protected
groupsService() : GroupsService
Return values
GroupsService —layoutService()
Get the layout service
protected
layoutService() : LayoutService
Return values
LayoutService —matrixService()
Get the matrix service
protected
matrixService() : MatrixService
Return values
MatrixService —themesRegistry()
Get the themes registry
protected
themesRegistry() : ThemesRegistry
Return values
ThemesRegistry —triggerEvent()
Triggers an event
protected
triggerEvent(string $type, Event $event) : mixed
Parameters
- $type : string
- $event : Event
Return values
mixed —viewModesService()
Get the view mode service
protected
viewModesService() : ViewModeService
Return values
ViewModeService —viewService()
Get the view service
protected
viewService() : ViewService