SilverWare\Colorpicker\Forms\ColorField
An extension of the text field class for a color field.
- Author: Colin Tucker <colin@praxis.net.au>
- Copyright: 2017 Praxis Interactive
- License: https://opensource.org/licenses/BSD-3-Clause BSD-3-Clause
Synopsis
class ColorField
extends TextField
{
- // methods
- public string Type()
- public string getWrapperID()
- public string getWrapperClass()
- public array getWrapperClassNames()
- public string getAddonClass()
- public array getAddonClassNames()
Hierarchy
Extends
- SilverStripe\Forms\TextField
Methods
public
- Type() — Answers the field type for the template.
- getAddonClass() — Answers an string of class names for the addon element.
- getAddonClassNames() — Answers an array of class names for the addon element.
- getWrapperClass() — Answers an string of class names for the wrapper element.
- getWrapperClassNames() — Answers an array of class names for the wrapper element.
- getWrapperID() — Answers a unique ID for the wrapper element.