DNADesign\Elemental\Reports\ElementsInUseReport
Synopsis
class ElementsInUseReport
extends Report
{
- // constants
- const CLASS_NAME_FILTER_KEY = 'ClassName';
- // methods
- public void title()
- public void sourceRecords()
- public void columns()
- protected string getEditLink()
- public GridField getReportField()
- public array getBreadcrumbs()
- protected string unsanitiseClassName()
Hierarchy
Extends
- SilverStripe\Reports\Report
Constants
Name | Value |
---|---|
CLASS_NAME_FILTER_KEY | 'ClassName' |
Methods
protected
- getEditLink() — Helper method to return the link to edit an element
- unsanitiseClassName() — Unsanitise a model class' name from a URL param
public
- columns()
- getBreadcrumbs() — When used with silverstripe/reports >= 4.4, this method will automatically be added as breadcrumbs leading up to this report.
- getReportField() — Add elemental CSS and a unique class name to the GridField
- sourceRecords()
- title()