UncleCheese\Dashboard\DashboardPanelRequest
Defines the {@link RequestHandler} object that is responsible for rendering dashboard panels and processing their input.
- Author: Uncle Cheese <unclecheese@leftandmain.com>
Synopsis
class DashboardPanelRequest
extends RequestHandler
{
- // members
- private static array $url_handlers = ;
- private static array $allowed_actions = ;
- protected $dashboard;
- protected $panel;
- // methods
- public void __construct()
- public string Link()
- public DBHTMLText panel()
- public HTTPResponse delete()
- public Form ConfigureForm()
- public HTTPResponse saveConfiguration()
Hierarchy
Extends
- SilverStripe\Control\RequestHandler
Members
private
- $allowed_actions
- $url_handlers
protected
- $dashboard
- $panel
Methods
public
- __construct()
- ConfigureForm() — Gets the configuration form for this panel and handles the form input
- Link() — Gets the link to this request. Useful for rendering the nested Form. Also provides an easy "refresh" link to the panel that is managed by this request
- delete() — Delets the panel in this request
- panel() — Renders the panel in this request
- saveConfiguration() — Processes the form input and writes the panel