SilverWare\IconSetField\Extensions\ControllerExtension
An extension which adds SilverWare IconSetField functionality to controllers.
- Author: Colin Tucker <colin@praxis.net.au>
- Copyright: 2017 Praxis Interactive
- License: https://opensource.org/licenses/BSD-3-Clause BSD-3-Clause
Synopsis
class ControllerExtension
extends Extension
{
- // methods
- public void onBeforeInit()
- public string getIconSetFieldColor()
- protected string getCustomCSS()
Hierarchy
Extends
- SilverStripe\Core\Extension
Methods
protected
- getCustomCSS() — Answers the custom CSS required for the extension.
public
- getIconSetFieldColor() — Answers the color associated with the given name.
- onBeforeInit() — Event handler method triggered before the extended controller has initialised.