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

Public Member Functions

 addRow (GridRow $row)
 
GridRow[] getRows ()
 
 getColumns ()
 
 getSpan ()
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Backend\View\BackendLayout\Grid\AbstractGridObject
 __construct (protected PageLayoutContext $context)
 
 getContext ()
 

Protected Attributes

array $rows = []
 
- ‪Protected Attributes inherited from ‪TYPO3\CMS\Backend\View\BackendLayout\Grid\AbstractGridObject
readonly IconFactory $iconFactory
 

Additional Inherited Members

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

Detailed Description

Grid

Main rows-and-columns structure representing the rows and columns of a BackendLayout in object form. Contains getter methods to return rows and sum of "colspan" values assigned to columns in rows.

Contains a tree of grid-related objects:

Accessed in Fluid templates.

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

Definition at line 38 of file Grid.php.

Member Function Documentation

◆ addRow()

TYPO3\CMS\Backend\View\BackendLayout\Grid\Grid::addRow ( GridRow  $row)

Definition at line 45 of file Grid.php.

◆ getColumns()

TYPO3\CMS\Backend\View\BackendLayout\Grid\Grid::getColumns ( )

Definition at line 58 of file Grid.php.

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

◆ getRows()

GridRow [] TYPO3\CMS\Backend\View\BackendLayout\Grid\Grid::getRows ( )
Returns
GridRow[]

Definition at line 53 of file Grid.php.

References TYPO3\CMS\Backend\View\BackendLayout\Grid\Grid\$rows.

◆ getSpan()

TYPO3\CMS\Backend\View\BackendLayout\Grid\Grid::getSpan ( )

Member Data Documentation

◆ $rows

array TYPO3\CMS\Backend\View\BackendLayout\Grid\Grid::$rows = []
protected

Definition at line 43 of file Grid.php.

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