\QuickApps\View\WidgetFontPanelWidget

Color picker input class.

Provides a JavaScript color wheel for picking colors.

Summary

Methods
Properties
Constants
__construct()
render()
secureFields()
No public properties found
No constants found
_loadAssets()
$_templates
$_View
N/A
No private methods found
No private properties found
N/A

Properties

$_templates

$_templates : \Cake\View\StringTemplate

StringTemplate instance.

Type

\Cake\View\StringTemplate

$_View

$_View : \Cake\View\View

Instance of View.

Type

\Cake\View\View

Methods

__construct()

__construct(\Cake\View\StringTemplate $templates, \Cake\View\View $view)

Constructor.

Parameters

\Cake\View\StringTemplate $templates

Templates list.

\Cake\View\View $view

Instance of View

render()

render(array $data, \Cake\View\Form\ContextInterface $context) : string

Render a color picker widget.

Parameters

array $data

The data to build an input with.

\Cake\View\Form\ContextInterface $context

The current form context.

Returns

string

secureFields()

secureFields(array $data)

{@inheritDoc}

Parameters

array $data

_loadAssets()

_loadAssets() : void

Load all CSS and JS assets required for this widget.