UncleCheese\Dashboard\DashboardPanelAction
Defines the object that renders as a button in a dashboard panel
- Author: Uncle Cheese <unclecheese@leftandmain.com>
Synopsis
class DashboardPanelAction
extends ViewableData
{
- // methods
- public void __construct()
- public string getUIClass()
- public string forTemplate()
- public string Action()
Hierarchy
Extends
- SilverStripe\View\ViewableData
Tasks
Line | Task |
---|---|
+ | More button types? |
Members
protected
- $Link — string
- $Title — string
- $Type — string
Methods
public
- __construct()
- Action() — A template accessor used to render this object
- forTemplate() — Gets the HTML link
- getUIClass() — Converts the simple type name into a real SS CSS class.