DMSGridFieldAddNewButton
class DMSGridFieldAddNewButton extends GridFieldAddNewButton implements GridField_HTMLProvider (View source)
Properties
protected | $targetFragment | from GridFieldAddNewButton | ||
protected | $buttonName | from GridFieldAddNewButton | ||
protected | int | $documentSetId | The document set ID that the document should be attached to |
Methods
public
array
getHTMLFragments($gridField)
Overriding the parent method to change the template that the DMS add button will be rendered with
public
$this
setDocumentSetId(int $id)
Set the document set ID that this document should be attached to
Details
setButtonName($name)
No description
__construct($targetFragment = 'before')
No description
array
getHTMLFragments($gridField)
Overriding the parent method to change the template that the DMS add button will be rendered with
$this
setDocumentSetId(int $id)
Set the document set ID that this document should be attached to
int
getDocumentSetId()
Get the document set ID that this document should be attached to