‪TYPO3CMS  ‪main
TYPO3\CMS\Backend\View\BackendLayout\Grid\GridColumnItem Class Reference
Inheritance diagram for TYPO3\CMS\Backend\View\BackendLayout\Grid\GridColumnItem:
TYPO3\CMS\Backend\View\BackendLayout\Grid\AbstractGridObject

Public Member Functions

 __construct (PageLayoutContext $context, GridColumn $column, array $record)
 
 isVersioned ()
 
 getPreview ()
 
 getWrapperClassName ()
 
 isDelible ()
 
 getDeleteUrl ()
 
 getDeleteMessage ()
 
 getFooterInfo ()
 
 getContentTypeLabel ()
 
 getIcons ()
 
 getSiteLanguage ()
 
 getRecord ()
 
 setRecord (array $record)
 
 getColumn ()
 
 getTranslations ()
 
 addTranslation (int $languageId, GridColumnItem $translation)
 
 isDisabled ()
 
 isEditable ()
 
 isDragAndDropAllowed ()
 
 isInconsistentLanguage ()
 
 getNewContentAfterUrl ()
 
 getVisibilityToggleUrl ()
 
 getVisibilityToggleTitle ()
 
 getVisibilityToggleIconName ()
 
 isVisibilityToggling ()
 
 getEditUrl ()
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Backend\View\BackendLayout\Grid\AbstractGridObject
 __construct (PageLayoutContext $context)
 
 getUniqueId ()
 
 getContext ()
 

Protected Member Functions

int getReferenceCount (int $uid)
 
- ‪Protected Member Functions inherited from ‪TYPO3\CMS\Backend\View\BackendLayout\Grid\AbstractGridObject
 getLanguageService ()
 
 getBackendUser ()
 

Protected Attributes

mixed[] $record = array( )
 
GridColumn $column
 
GridColumnItem[] $translations = array( )
 
- ‪Protected Attributes inherited from ‪TYPO3\CMS\Backend\View\BackendLayout\Grid\AbstractGridObject
PageLayoutContext $context
 
IconFactory $iconFactory
 

Detailed Description

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

Definition at line 44 of file GridColumnItem.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Backend\View\BackendLayout\Grid\GridColumnItem::__construct ( PageLayoutContext  $context,
GridColumn  $column,
array  $record 
)

Member Function Documentation

◆ addTranslation()

TYPO3\CMS\Backend\View\BackendLayout\Grid\GridColumnItem::addTranslation ( int  $languageId,
GridColumnItem  $translation 
)

Definition at line 226 of file GridColumnItem.php.

◆ getColumn()

TYPO3\CMS\Backend\View\BackendLayout\Grid\GridColumnItem::getColumn ( )

◆ getContentTypeLabel()

TYPO3\CMS\Backend\View\BackendLayout\Grid\GridColumnItem::getContentTypeLabel ( )

Definition at line 171 of file GridColumnItem.php.

◆ getDeleteMessage()

◆ getDeleteUrl()

TYPO3\CMS\Backend\View\BackendLayout\Grid\GridColumnItem::getDeleteUrl ( )

Definition at line 121 of file GridColumnItem.php.

References $GLOBALS.

◆ getEditUrl()

TYPO3\CMS\Backend\View\BackendLayout\Grid\GridColumnItem::getEditUrl ( )

Definition at line 339 of file GridColumnItem.php.

References $GLOBALS.

◆ getFooterInfo()

TYPO3\CMS\Backend\View\BackendLayout\Grid\GridColumnItem::getFooterInfo ( )

◆ getIcons()

TYPO3\CMS\Backend\View\BackendLayout\Grid\GridColumnItem::getIcons ( )

◆ getNewContentAfterUrl()

TYPO3\CMS\Backend\View\BackendLayout\Grid\GridColumnItem::getNewContentAfterUrl ( )

Definition at line 276 of file GridColumnItem.php.

References $GLOBALS.

◆ getPreview()

TYPO3\CMS\Backend\View\BackendLayout\Grid\GridColumnItem::getPreview ( )

Definition at line 70 of file GridColumnItem.php.

◆ getRecord()

◆ getReferenceCount()

int TYPO3\CMS\Backend\View\BackendLayout\Grid\GridColumnItem::getReferenceCount ( int  $uid)
protected

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

Returns
‪int The number of references to record $uid in table

Definition at line 359 of file GridColumnItem.php.

References TYPO3\CMS\Webhooks\Message\$uid.

Referenced by TYPO3\CMS\Backend\View\BackendLayout\Grid\GridColumnItem\getDeleteMessage().

◆ getSiteLanguage()

TYPO3\CMS\Backend\View\BackendLayout\Grid\GridColumnItem::getSiteLanguage ( )

◆ getTranslations()

TYPO3\CMS\Backend\View\BackendLayout\Grid\GridColumnItem::getTranslations ( )

◆ getVisibilityToggleIconName()

TYPO3\CMS\Backend\View\BackendLayout\Grid\GridColumnItem::getVisibilityToggleIconName ( )

Definition at line 322 of file GridColumnItem.php.

References $GLOBALS.

◆ getVisibilityToggleTitle()

TYPO3\CMS\Backend\View\BackendLayout\Grid\GridColumnItem::getVisibilityToggleTitle ( )

◆ getVisibilityToggleUrl()

TYPO3\CMS\Backend\View\BackendLayout\Grid\GridColumnItem::getVisibilityToggleUrl ( )

Definition at line 290 of file GridColumnItem.php.

References $GLOBALS.

◆ getWrapperClassName()

TYPO3\CMS\Backend\View\BackendLayout\Grid\GridColumnItem::getWrapperClassName ( )

◆ isDelible()

TYPO3\CMS\Backend\View\BackendLayout\Grid\GridColumnItem::isDelible ( )

◆ isDisabled()

TYPO3\CMS\Backend\View\BackendLayout\Grid\GridColumnItem::isDisabled ( )

◆ isDragAndDropAllowed()

TYPO3\CMS\Backend\View\BackendLayout\Grid\GridColumnItem::isDragAndDropAllowed ( )

◆ isEditable()

TYPO3\CMS\Backend\View\BackendLayout\Grid\GridColumnItem::isEditable ( )

◆ isInconsistentLanguage()

◆ isVersioned()

TYPO3\CMS\Backend\View\BackendLayout\Grid\GridColumnItem::isVersioned ( )

Definition at line 65 of file GridColumnItem.php.

◆ isVisibilityToggling()

TYPO3\CMS\Backend\View\BackendLayout\Grid\GridColumnItem::isVisibilityToggling ( )

◆ setRecord()

TYPO3\CMS\Backend\View\BackendLayout\Grid\GridColumnItem::setRecord ( array  $record)

Member Data Documentation

◆ $column

GridColumn TYPO3\CMS\Backend\View\BackendLayout\Grid\GridColumnItem::$column
protected

◆ $record

◆ $translations

GridColumnItem [] TYPO3\CMS\Backend\View\BackendLayout\Grid\GridColumnItem::$translations = array( )
protected