Grid extends AbstractGridObject

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:

  • Grid
    • GridRow
      • GridColumn
        • GridColumnItem (one per record)

Accessed in Fluid templates.

Internal

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

Table of Contents

Properties

$context  : PageLayoutContext
$iconFactory  : IconFactory
$rows  : array<string|int, GridRow>

Methods

__construct()  : mixed
addRow()  : void
getColumns()  : iterable<string|int, mixed>
getContext()  : PageLayoutContext
getRows()  : array<string|int, GridRow>
getSpan()  : int
getBackendUser()  : BackendUserAuthentication
getLanguageService()  : LanguageService

Properties

Methods

getColumns()

public getColumns() : iterable<string|int, mixed>
Return values
iterable<string|int, mixed>

getSpan()

public getSpan() : int
Return values
int

        
On this page

Search results