\GridFieldGalleryTheme
SS3 GridFiled component appying a theme to the GridField rendering it into a gallery view
- Author: colymba
Synopsis
class GridFieldGalleryTheme
implements
GridField_HTMLProvider,GridField_ColumnProvider
{
- // members
- protected $thumbnailField;
- protected array $fileTypeMapping = ;
- // methods
- public void __construct()
- public void getHTMLFragments()
- public void augmentColumns()
- public void getColumnsHandled()
- public void getColumnContent()
- public string getFileTypeIcon()
- public void getColumnAttributes()
- public void getColumnMetadata()
Hierarchy
Implements
- GridField_HTMLProvider
- GridField_ColumnProvider
Members
protected
- $fileTypeMapping — array
- $thumbnailField — string
Methods
public
- __construct()
- augmentColumns()
- getColumnAttributes()
- getColumnContent()
- getColumnMetadata()
- getColumnsHandled()
- getFileTypeIcon() — Return the icon to display for the fileobject
- getHTMLFragments()