GridFieldSiteTreeState
class GridFieldSiteTreeState implements GridField_ColumnProvider (View source)
Provides a component to the GridField which shows the publish status of a page.
Methods
public
augmentColumns(GridField $gridField, array $columns)
Modify the list of columns displayed in the table.
public
array
public
string
getColumnContent(GridField $gridField, DataObject $record, string $columnName)
element.
element.
HTML for the column, content of the
public
array
getColumnAttributes(GridField $gridField, DataObject $record, string $columnName)
Attributes for the element containing the content returned by getColumnContent().
Details
augmentColumns(GridField $gridField, array $columns)
Modify the list of columns displayed in the table.
array
getColumnsHandled(GridField $gridField)
Names of all columns which are affected by this component.
string
getColumnContent(GridField $gridField, DataObject $record, string $columnName)
HTML for the column, content of the
array
getColumnAttributes(GridField $gridField, DataObject $record, string $columnName)
Attributes for the element containing the content returned by getColumnContent().
getColumnMetaData($gridField, $columnName)
No description