Grid

class \TYPO3\CMS\Backend\View\BackendLayout\Grid\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.

Table of Contents

Properties

$allowNewContent  : bool
$context  : PageLayoutContext
$iconFactory  : IconFactory
$rows  : GridRow[]

Methods

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

Properties

$allowNewContent

protected bool $allowNewContent = true

Methods

getColumns()

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

Return values

iterable<string|int, mixed>

getSpan()

public getSpan() : int

Return values

int

getUniqueId()

public getUniqueId() : string

Return values

string
On this page