Milkyway\SS\GridFieldUtils\DisplayAsTimeline
Synopsis
class DisplayAsTimeline
implements
GridField_ColumnProvider,Format
{
- // members
- protected $iconField;
- protected $iconClasses;
- protected $addAttributesFromMethodOnRecord;
- public string $formatState = 'timeline';
- public string $formatTitle = 'Timeline';
- // methods
- public void __construct()
- public void augmentColumns()
- public array getColumnsHandled()
- public string getColumnContent()
- public array getColumnAttributes()
- public array getColumnMetadata()
- protected mixed getColumnForIcon()
- public void getFormatTitle()
- public void getFormatState()
- public void format()
- public void unformat()
- // Inherited methods from FormatsGridField
- protected void formatIfNoSwitcherAvailable()
Hierarchy
Members
protected
- $addAttributesFromMethodOnRecord — string
- $iconClasses — array
- $iconField — string
public
- $formatState
- $formatTitle
Methods
protected
public
- __construct()
- augmentColumns() — Modify the list of columns displayed in the table.
- format()
- getColumnAttributes() — Attributes for the element containing the content returned by {@link getColumnContent()}.
- getColumnContent() — HTML for the column, content of the <td> element.
- getColumnMetadata() — Additional metadata about the column which can be used by other components, e.g. to set a title for a search column header.
- getColumnsHandled() — Names of all columns which are affected by this component.
- getFormatState()
- getFormatTitle()
- unformat()