AttributeAutocompleteTrait

This is the 'autocomplete' attribute trait.

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

Tags
see
AttributeAutocompleteTrait::setAutocomplete()
see
AttributeAutocompleteTrait::getAutocomplete()

Table of Contents

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

Properties

Methods

getAutocomplete()

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

public getAutocomplete() : string
Return values
string

setAutocomplete()

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

public setAutocomplete(string $autocomplete) : self
Parameters
$autocomplete : string

Valid values: Input::AUTOCOMPLETE_ON, Input::AUTOCOMPLETE_OFF

Return values
self

Search results