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

Public Member Functions

 __construct (PageLayoutContext $context, array $columnDefinition)
 
 isActive ()
 
 addItem (GridColumnItem $item)
 
GridColumnItem[] getItems ()
 
 getColumnNumber ()
 
 getColumnName ()
 
 getIcon ()
 
 getColSpan ()
 
 getRowSpan ()
 
int[] getAllContainedItemUids ()
 
 getEditUrl ()
 
 getNewContentUrl ()
 
 getTitle ()
 
 getTitleInaccessible ()
 
 getTitleUnassigned ()
 
 isUnassigned ()
 
 isContentEditable ()
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Backend\View\BackendLayout\Grid\AbstractGridObject
 __construct (PageLayoutContext $context)
 
 getUniqueId ()
 
 getContext ()
 

Protected Attributes

GridColumnItem[] $items = array( )
 
int null $columnNumber
 
string $columnName = 'default'
 
string null $icon
 
int $colSpan = 1
 
int $rowSpan = 1
 
- ‪Protected Attributes inherited from ‪TYPO3\CMS\Backend\View\BackendLayout\Grid\AbstractGridObject
PageLayoutContext $context
 
IconFactory $iconFactory
 

Additional Inherited Members

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

Detailed Description

Grid Column

Object representation (model/proxy) for a single column from a grid defined in a BackendLayout. Stores GridColumnItem representations of content records and provides getter methods which return various properties associated with a single column, e.g. the "edit all elements in content" URL and the "add new content element" URL of the button that is placed in the top of columns in the page layout.

Accessed from Fluid templates.

this is experimental and subject to change in TYPO3 v10 / v11

Definition at line 40 of file GridColumn.php.

Constructor & Destructor Documentation

◆ __construct()

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

Member Function Documentation

◆ addItem()

TYPO3\CMS\Backend\View\BackendLayout\Grid\GridColumn::addItem ( GridColumnItem  $item)

Definition at line 81 of file GridColumn.php.

◆ getAllContainedItemUids()

int [] TYPO3\CMS\Backend\View\BackendLayout\Grid\GridColumn::getAllContainedItemUids ( )
Returns
‪int[]

Definition at line 128 of file GridColumn.php.

Referenced by TYPO3\CMS\Backend\View\BackendLayout\Grid\GridColumn\getEditUrl().

◆ getColSpan()

TYPO3\CMS\Backend\View\BackendLayout\Grid\GridColumn::getColSpan ( )

◆ getColumnName()

TYPO3\CMS\Backend\View\BackendLayout\Grid\GridColumn::getColumnName ( )

◆ getColumnNumber()

◆ getEditUrl()

◆ getIcon()

TYPO3\CMS\Backend\View\BackendLayout\Grid\GridColumn::getIcon ( )

◆ getItems()

GridColumnItem [] TYPO3\CMS\Backend\View\BackendLayout\Grid\GridColumn::getItems ( )

◆ getNewContentUrl()

TYPO3\CMS\Backend\View\BackendLayout\Grid\GridColumn::getNewContentUrl ( )

◆ getRowSpan()

TYPO3\CMS\Backend\View\BackendLayout\Grid\GridColumn::getRowSpan ( )

◆ getTitle()

◆ getTitleInaccessible()

TYPO3\CMS\Backend\View\BackendLayout\Grid\GridColumn::getTitleInaccessible ( )

◆ getTitleUnassigned()

TYPO3\CMS\Backend\View\BackendLayout\Grid\GridColumn::getTitleUnassigned ( )

◆ isActive()

TYPO3\CMS\Backend\View\BackendLayout\Grid\GridColumn::isActive ( )

Definition at line 76 of file GridColumn.php.

◆ isContentEditable()

TYPO3\CMS\Backend\View\BackendLayout\Grid\GridColumn::isContentEditable ( )

◆ isUnassigned()

TYPO3\CMS\Backend\View\BackendLayout\Grid\GridColumn::isUnassigned ( )

Definition at line 213 of file GridColumn.php.

Member Data Documentation

◆ $colSpan

int TYPO3\CMS\Backend\View\BackendLayout\Grid\GridColumn::$colSpan = 1
protected

◆ $columnName

string TYPO3\CMS\Backend\View\BackendLayout\Grid\GridColumn::$columnName = 'default'
protected

◆ $columnNumber

int null TYPO3\CMS\Backend\View\BackendLayout\Grid\GridColumn::$columnNumber
protected

◆ $icon

string null TYPO3\CMS\Backend\View\BackendLayout\Grid\GridColumn::$icon
protected

◆ $items

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

◆ $rowSpan

int TYPO3\CMS\Backend\View\BackendLayout\Grid\GridColumn::$rowSpan = 1
protected