AttributeValueTrait

This is the 'value' attribute trait.

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

Tags
see
AttributeValueTrait::setValue()
see
AttributeValueTrait::getValue()

Table of Contents

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

Properties

Methods

getValue()

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

public getValue() : string
Return values
string

setValue()

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

public setValue(string $value) : self
Parameters
$value : string
Return values
self

Search results