SilverCart\Admin\Forms\GridField\GridFieldPopupTrigger
Similar to {@link GridFieldConfig}, but adds some static helper methods.
- Author: Sebastian Diel <sdiel@pixeltricks.de>
- Copyright: 2017 pixeltricks GmbH
- License: see license file in modules root directory
Synopsis
class GridFieldPopupTrigger
implements
GridField_HTMLProvider
{
- // members
- protected $targetURL;
- // methods
- public GridFieldPopupTrigger __construct()
- public string getTargetURL()
- public void setTargetURL()
- public array getHTMLFragments()
Hierarchy
Implements
- SilverStripe\Forms\GridField\GridField_HTMLProvider
Members
protected
- $targetURL
—
string
Target URL
Methods
public
- __construct() — Sets the defaults.
- getHTMLFragments() — Adds a div which holds a url in its rel tag
- getTargetURL() — Returns the target URL
- setTargetURL() — Sets the target URL