AttributeStyleTrait

This is the 'style' attribute trait.

This trait has been created to share common code between form elements classes, in this case the declaration of the 'style' attribute and its set/get methods.

Tags
see
AttributeStyleTrait::setStyle()
see
AttributeStyleTrait::getStyle()

Table of Contents

$style  : string
getStyle() This method returns the current value of the 'style' attribute.  : string
setStyle() This method sets the 'style' attribute with the given value and returns self.  : self

Properties

Methods

getStyle()

This method returns the current value of the 'style' attribute.

public getStyle() : string
Return values
string

setStyle()

This method sets the 'style' attribute with the given value and returns self.

public setStyle(string $style) : self
Parameters
$style : string
Return values
self

Search results