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.

Internal

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>
$table  : string
$translations  : array<string|int, GridColumnItem>

Methods

__construct()  : mixed
addTranslation()  : GridColumnItem
getColumn()  : GridColumn
getContentTypeLabel()  : string
getContext()  : PageLayoutContext
getDeleteMessage()  : string
getDeleteUrl()  : string
getEditUrl()  : string
getFooterInfo()  : string
getIcons()  : string
getNewContentAfterUrl()  : string
getPreview()  : string
getRecord()  : array<string|int, mixed>
getRecordType()  : string
getSiteLanguage()  : SiteLanguage
getTable()  : string
getTranslations()  : array<string|int, mixed>
getTypeColumn()  : string
getVisibilityToggleIconName()  : string
getVisibilityToggleTitle()  : string
getVisibilityToggleUrl()  : string
getWrapperClassName()  : string
isDelible()  : bool
isDisabled()  : bool
isDragAndDropAllowed()  : bool
isEditable()  : bool
isInconsistentLanguage()  : bool
isVersioned()  : bool
isVisibilityToggling()  : bool
setRecord()  : void
getBackendUser()  : BackendUserAuthentication
getLabelFromItemListMerged()  : string
getLanguageService()  : LanguageService
getReferenceCount()  : int
Gets the number of records referencing the record with the UID $uid in the current table.

Properties

$record

protected array<string|int, mixed> $record

$table read-only

protected string $table = 'tt_content'

Methods

getContentTypeLabel()

public getContentTypeLabel() : string
Return values
string

getDeleteMessage()

public getDeleteMessage() : string
Return values
string

getDeleteUrl()

public getDeleteUrl() : string
Return values
string

getEditUrl()

public getEditUrl() : string
Return values
string

getFooterInfo()

public getFooterInfo() : string
Return values
string

getIcons()

public getIcons() : string
Return values
string

getNewContentAfterUrl()

public getNewContentAfterUrl() : string
Return values
string

getPreview()

public getPreview() : string
Return values
string

getRecord()

public getRecord() : array<string|int, mixed>
Return values
array<string|int, mixed>

getRecordType()

public getRecordType() : string
Return values
string

getTable()

public getTable() : string
Return values
string

getTranslations()

public getTranslations() : array<string|int, mixed>
Return values
array<string|int, mixed>

getTypeColumn()

public getTypeColumn() : string
Return values
string

getVisibilityToggleIconName()

public getVisibilityToggleIconName() : string
Return values
string

getVisibilityToggleTitle()

public getVisibilityToggleTitle() : string
Return values
string

getVisibilityToggleUrl()

public getVisibilityToggleUrl() : string
Return values
string

getWrapperClassName()

public getWrapperClassName() : string
Return values
string

isDelible()

public isDelible() : bool
Return values
bool

isDisabled()

public isDisabled() : bool
Return values
bool

isDragAndDropAllowed()

public isDragAndDropAllowed() : bool
Return values
bool

isEditable()

public isEditable() : bool
Return values
bool

isInconsistentLanguage()

public isInconsistentLanguage() : bool
Return values
bool

isVersioned()

public isVersioned() : bool
Return values
bool

isVisibilityToggling()

public isVisibilityToggling() : bool
Return values
bool

setRecord()

public setRecord(array<string|int, mixed> $record) : void
Parameters
$record : array<string|int, mixed>

getLabelFromItemListMerged()

protected getLabelFromItemListMerged() : string
Return values
string

getReferenceCount()

Gets the number of records referencing the record with the UID $uid in the current table.

protected getReferenceCount(int $uid) : int
Parameters
$uid : int
Return values
int

The number of references to record $uid in table


        
On this page

Search results