\ThemeDashlet
- Author: <marcus@silverstripe.com.au>
- License: BSD License http://www.silverstripe.org/bsd-license
Synopsis
class ThemeDashlet
extends Dashlet
{
- // members
- public static string $title = "Custom CSS";
- public static string $cmsTitle = "Custom CSS rules";
- public static string $description = "User defined CSS rules";
- private static array $db = ;
- // methods
- public void getDashletFields()
- // Inherited methods from Dashlet
- 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
Members
private
- $db
public
- $cmsTitle
- $description
- $title
Methods
public
Inherited from Dashlet
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()