ColorPicker

extends Zend\Form\Element\Text implements Zend\InputFilter\InputProviderInterface
Methods Summary
public
public
# validateColor( $color )
Methods inherited from Zend\Form\Element\Text
Methods inherited from Zend\Form\Element
__construct(), init(), setName(), getName(), setOptions(), getOptions(), getOption(), setOption(), setAttribute(), getAttribute(), removeAttribute(), hasAttribute(), setAttributes(), getAttributes(), removeAttributes(), clearAttributes(), setValue(), getValue(), setLabel(), getLabel(), setLabelAttributes(), getLabelAttributes(), setLabelOptions(), getLabelOptions(), clearLabelOptions(), removeLabelOptions(), setLabelOption(), getLabelOption(), removeLabelOption(), hasLabelOption(), setMessages(), getMessages()
Constants Summary
public string REGEX
# '#([0-9A-Fa-f]{3}){1,2}|transparent'
public string REGEX_EXPLANATION
# 'three- or six-digit hexadecimal color, or "transparent"'
Properties Summary
protected $attributes
# array ( 'type' => 'color_picker', 'placeholder' => 'three- or six-digit hexadecimal color, or "transparent"', 'title' => 'three- or six-digit hexadecimal color, or "transparent"', 'pattern' => '#([0-9A-Fa-f]{3}){1,2}|transparent', )
Properties inherited from Zend\Form\Element\Text
$attributes
Properties inherited from Zend\Form\Element
$attributes, $label, $labelAttributes, $labelOptions, $messages, $options, $value