\DMSGridFieldAddNewButton
Synopsis
class DMSGridFieldAddNewButton
extends GridFieldAddNewButton
implements
GridField_HTMLProvider
{
- // members
- protected $documentSetId;
- // methods
- public array getHTMLFragments()
- public $this setDocumentSetId()
- public int getDocumentSetId()
Hierarchy
Extends
- GridFieldAddNewButton
Implements
- GridField_HTMLProvider
Members
protected
- $documentSetId
—
int
The document set ID that the document should be attached to
Methods
public
- getDocumentSetId() — Get the document set ID that this document should be attached to
- getHTMLFragments() — Overriding the parent method to change the template that the DMS add button will be rendered with
- setDocumentSetId() — Set the document set ID that this document should be attached to