SilverShop\HasOneField\GridFieldSummaryField
Class GridFieldSummaryField
Synopsis
class GridFieldSummaryField
implements
GridField_HTMLProvider
{
- // members
- protected $relationName;
- protected $targetFragment;
- protected $summaryField;
- // methods
- public void __construct()
- public string getRelationName()
- public GridFieldSummaryField setRelationName()
- public void getTargetFragment()
- public GridFieldSummaryField setTargetFragment()
- public string getSummaryField()
- public GridFieldSummaryField setSummaryField()
- public array getHTMLFragments()
Hierarchy
Implements
- SilverStripe\Forms\GridField\GridField_HTMLProvider
Members
protected
- $relationName
—
string
The name of the relation - $summaryField — string
- $targetFragment
—
string
The location of this fragmemt
Methods
public
- __construct() — Setup this component
- getHTMLFragments() — Generate HTML for the GridField
- getRelationName() — Get the value of name
- getSummaryField() — Get the value of summaryField
- getTargetFragment() — Get the value of targetFragment
- setRelationName() — Set the value of name
- setSummaryField() — Set the value of summaryField
- setTargetFragment() — Set the value of targetFragment