\Dashlet
A widget specifically for use on the frontend
- Author: marcus@silverstripe.com.au
- License: BSD License http://silverstripe.org/bsd-license/
Synopsis
class Dashlet
extends Widget
{
- // members
- private static array $db = ;
- private static array $defaults = ;
- private boolean $publishAfterWrite = false;
- // methods
- public void onBeforeWrite()
- public void onAfterWrite()
- public void Title()
- public void getCMSFields()
- public FieldSet getDashletFields()
- public void ExtraDashletClasses()
- public void permissionSource()
- protected void requiredPermission()
- public type canCreate()
Hierarchy
Extends
- Widget
Members
private
- $db
- $defaults
- $publishAfterWrite
Methods
protected
- requiredPermission() — The permission needed for a user to be able to create and view this dashlet to the site config object
public
- ExtraDashletClasses()
- Title()
- canCreate() — Can this dashlet be created by the current user?
- getCMSFields()
- getDashletFields() — Gets the fields used for editing this dashlet on the frontend
- onAfterWrite()
- onBeforeWrite()
- permissionSource()