AttributeMinlengthTrait

This is the 'minLength' attribute trait.

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

Tags
see
AttributeMinlengthTrait::setMinlength()
see
AttributeMinlengthTrait::getMinlength()

Table of Contents

$minlength  : int
getMinlength() This method returns the current value of the 'minLength' attribute.  : int
setMinlength() This method sets the 'minLength' attribute with the given value and returns self.  : self

Properties

Methods

getMinlength()

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

public getMinlength() : int
Return values
int

setMinlength()

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

public setMinlength(int $minlength) : self
Parameters
$minlength : int
Return values
self

Search results