protected function assembleComponent($element)
    {
        $options   = $this->getOptions();
        $element   = parent::__invoke($element);
        $component = sprintf(
            '<div style="padding: 0;" class="input-append color %s" data-color="%s" data-color-format="%s">%s',
            $options['class'],
            $options['color'],
            $options['format'],
            $element
        ) . sprintf(
            '<span class="add-on"><i style="background-color: %s;"></i></span></div>',
            $options['color']
        );

        return $component;
    }
protected function assembleComponent($element)
    {
        $options   = $this->getOptions();
        $element   = parent::__invoke($element);
        $component = sprintf(
            '<div style="padding: 0;" class="input-append color %s" data-color="%s" data-color-format="%s">%s',
            $options['class'],
            $options['color'],
            $options['format'],
            $element
        ) . sprintf(
            '<span class="add-on"><i style="background-color: %s;"></i></span></div>',
            $options['color']
        );

        return $component;
    }
protected function assembleComponent ( $ element ) { $ options = $ this -> getOptions ( ) ; $ element = parent :: __invoke ( $ element ) ; $ component = sprintf ( '<div style="padding: 0;" class="input-append color %s" data-color="%s" data-color-format="%s">%s' , $ options [ 'class' ] , $ options [ 'color' ] , $ options [ 'format' ] , $ element ) . sprintf ( '<span class="add-on"><i style="background-color: %s;"></i></span></div>' , $ options [ 'color' ] ) ; return $ component ; }
Put together the colorpicker component.

@param Zend\Form\Element $element
Put together the colorpicker component .