AttributeSizeTrait

This is the 'size' attribute trait.

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

Tags
see
AttributeSizeTrait::setSize()
see
AttributeSizeTrait::getSize()

Table of Contents

$size  : int
getSize() This method returns the current value of the 'size' attribute.  : int
setSize() This method sets the 'size' attribute with the given value and returns self.  : self

Properties

Methods

getSize()

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

public getSize() : int
Return values
int

setSize()

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

public setSize(int $size) : self
Parameters
$size : int
Return values
self

Search results