CoolCMS API

Columns

Table of Contents

Classes

BaseColumn
Common base of grid columns. A column is a plain configuration object (no DI service, see the exclude in config/common.neon), built fluently as `Column::create('name')->setLabel(…)->…` and passed ready to {@see \App\UI\Admin\System\Components\DataGridComponent\DataGrid::addColumn()}.
Column
Classic column: one property per cell. Without an explicit {@see setProperty()} the property path equals the column name.
MultiColumn
Multi column: several properties shown in one cell (joined by a separator) with a single search field. The filter searches an OR group over all properties (see {@see \App\UI\Admin\System\Components\DataGridComponent\Filters\TextFilter}).
RelationColumn
Column whose cell does not match an entity column but a flag from a related collection selected by a "scope". Built for matrices (row = entity, column = one of dynamically generated items), typically the RBAC matrix where the row is a privilege, `userRoleRels` its collection of links and scope = roleId.
On this page

Search results