GridColumnItem extends AbstractGridObject
Grid Column Item
Model/proxy around a single record which appears in a grid column in the page layout. Returns titles, urls etc. and performs basic assertions on the contained content element record such as is-versioned, is-editable, is-delible and so on.
Accessed from Fluid templates.
this is experimental and subject to change in TYPO3 v10 / v11
Table of Contents
Properties
- $column : GridColumn
- $context : PageLayoutContext
- $iconFactory : IconFactory
- $record : array<string|int, mixed>
- $translations : array<string|int, GridColumnItem>
Methods
- __construct() : mixed
- addTranslation() : GridColumnItem
- getColumn() : GridColumn
- getContext() : PageLayoutContext
- getDeleteMessage() : string
- getDeleteUrl() : string
- getEditUrl() : string
- getFooterInfo() : string
- getIcons() : string
- getNewContentAfterUrl() : string
- getPreview() : string
- getRecord() : array<string|int, mixed>
- getSiteLanguage() : SiteLanguage
- getTranslations() : array<string|int, mixed>
- getUniqueId() : string
- getVisibilityToggleIconName() : string
- getVisibilityToggleTitle() : string
- getVisibilityToggleUrl() : string
- getWrapperClassName() : string
- isDelible() : bool
- isDisabled() : bool
- isDragAndDropAllowed() : bool
- isEditable() : bool
- isVersioned() : bool
- isVisibilityToggling() : bool
- setRecord() : void
- getBackendUser() : BackendUserAuthentication
- getLanguageService() : LanguageService
- isInconsistentLanguage() : bool
Properties
$column
protected
GridColumn
$column
$context
protected
PageLayoutContext
$context
$iconFactory
protected
IconFactory
$iconFactory
$record
protected
array<string|int, mixed>
$record
= []
$translations
protected
array<string|int, GridColumnItem>
$translations
= []
Methods
__construct()
public
__construct(PageLayoutContext $context, GridColumn $column, array<string|int, mixed> $record) : mixed
Parameters
- $context : PageLayoutContext
- $column : GridColumn
- $record : array<string|int, mixed>
addTranslation()
public
addTranslation(int $languageId, GridColumnItem $translation) : GridColumnItem
Parameters
- $languageId : int
- $translation : GridColumnItem
Return values
GridColumnItemgetColumn()
public
getColumn() : GridColumn
Return values
GridColumngetContext()
public
getContext() : PageLayoutContext
Return values
PageLayoutContextgetDeleteMessage()
public
getDeleteMessage() : string
Return values
stringgetDeleteUrl()
public
getDeleteUrl() : string
Return values
stringgetEditUrl()
public
getEditUrl() : string
Return values
stringgetFooterInfo()
public
getFooterInfo() : string
Return values
stringgetIcons()
public
getIcons() : string
Return values
stringgetNewContentAfterUrl()
public
getNewContentAfterUrl() : string
Return values
stringgetPreview()
public
getPreview() : string
Return values
stringgetRecord()
public
getRecord() : array<string|int, mixed>
Return values
array<string|int, mixed>getSiteLanguage()
public
getSiteLanguage() : SiteLanguage
Return values
SiteLanguagegetTranslations()
public
getTranslations() : array<string|int, mixed>
Return values
array<string|int, mixed>getUniqueId()
public
getUniqueId() : string
Return values
stringgetVisibilityToggleIconName()
public
getVisibilityToggleIconName() : string
Return values
stringgetVisibilityToggleTitle()
public
getVisibilityToggleTitle() : string
Return values
stringgetVisibilityToggleUrl()
public
getVisibilityToggleUrl() : string
Return values
stringgetWrapperClassName()
public
getWrapperClassName() : string
Return values
stringisDelible()
public
isDelible() : bool
Return values
boolisDisabled()
public
isDisabled() : bool
Return values
boolisDragAndDropAllowed()
public
isDragAndDropAllowed() : bool
Return values
boolisEditable()
public
isEditable() : bool
Return values
boolisVersioned()
public
isVersioned() : bool
Return values
boolisVisibilityToggling()
public
isVisibilityToggling() : bool
Return values
boolsetRecord()
public
setRecord(array<string|int, mixed> $record) : void
Parameters
- $record : array<string|int, mixed>
getBackendUser()
protected
getBackendUser() : BackendUserAuthentication
Return values
BackendUserAuthenticationgetLanguageService()
protected
getLanguageService() : LanguageService
Return values
LanguageServiceisInconsistentLanguage()
protected
isInconsistentLanguage() : bool