AttributeMaxTrait

This is the 'max' attribute trait.

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

Tags
see
AttributeMaxTrait::setMax()
see
AttributeMaxTrait::getMax()

Table of Contents

$max  : int
getMax() This method returns the current value of the 'max' attribute.  : int
setMax() This method sets the 'max' attribute with the given value and returns self.  : self

Properties

Methods

getMax()

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

public getMax() : int
Return values
int

setMax()

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

public setMax(int $max) : self
Parameters
$max : int
Return values
self

Search results