\GriddleFieldSource
Class GriddleFieldSource
Synopsis
class GriddleFieldSource
extends Object
{
- // members
- private $list;
- private array $columns = ;
- private array $columnMappings = ;
- // methods
- public void __construct()
- public SS_List getList()
- public array getColumns()
- public array getColumnMappings()
- public array addColumn()
- public array addColumnMapping()
- protected mixed getValue()
- public array serialize()
Hierarchy
Extends
- Object
Members
private
- $columnMappings
- $columns
- $list
Methods
protected
public
- __construct()
- addColumn() — Adds a column to the GridFieldSource object. This will be visible as a sortable column from the rendered GridField. If there is no corresponding columnMapping, an empty value will be rendered in the cell.
- addColumnMapping() — Adds a mapping to the column. The value return from the map will be inserted as the value of the cell for the $column.
- getColumnMappings()
- getColumns()
- getList()
- serialize()