protected function styles($style, $element) { parent::style($style, $element); $element->setAttribute('size', $style->getStyle('size')); $element->setAttribute('color', $style->getStyle('color')); $element->setImageAttribute('backgroundimage', $style->getStyle('backgroundimage')); }
public function style($style, $element) { parent::style($style, $element); $element->setAttribute('height', $style->getStyle('height')); $element->setAttribute('color', $style->getStyle('color')); $element->setAttribute('size', $style->getStyle('size')); $element->setImageAttribute('backgroundimage', $style->getStyle('backgroundimage')); }