BringYourOwnIdeas\Maintenance\Forms\GridFieldLinkButton
A button that contains a link to an URL.
Synopsis
class GridFieldLinkButton
implements
GridField_HTMLProvider
{
- // members
- protected $targetFragment;
- protected $link;
- protected $caption;
- // methods
- public void __construct()
- public array getHTMLFragments()
Hierarchy
Implements
- SilverStripe\Forms\GridField\GridField_HTMLProvider
Members
protected
- $link
—
string
URL link the button links out to. - $targetFragment
—
string
Fragment to write the button to.
Methods
public
- __construct()
- getHTMLFragments() — Place the link button in a <p> tag above the field