Method | Description | |
---|---|---|
__construct ( string $fragment = 'buttons-before-left' ) | ||
getFragment ( ) : string | Gets the fragment name this button is rendered into. | |
getHTMLFragments ( $grid ) | ||
getTitle ( ) : string | Gets the button title text. | |
handleSave ( GridField $grid, DataObjectInterface $record ) | ||
setFragment ( string $fragment ) : GridFieldAddNewInlineButton | Sets the fragment name this button is rendered into. | |
setTitle ( string $title ) : GridFieldAddNewInlineButton | Sets the button title text. |
Method | Description | |
---|---|---|
getRowTemplate ( GridField $grid, GridFieldEditableColumns $editable ) |
public __construct ( string $fragment = 'buttons-before-left' ) | ||
$fragment | string | the fragment to render the button in |
public getFragment ( ) : string | ||
return | string |
public handleSave ( GridField $grid, DataObjectInterface $record ) | ||
$grid | GridField | |
$record | DataObjectInterface |
public setFragment ( string $fragment ) : GridFieldAddNewInlineButton | ||
$fragment | string | |
return | GridFieldAddNewInlineButton | $this |