AttributeStepTrait

This is the 'step' attribute trait.

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

Tags
see
AttributeStepTrait::setStep()
see
AttributeStepTrait::getStep()

Table of Contents

$step  : int
getStep() This method returns the current value of the 'step' attribute.  : int
setStep() This method sets the 'step' attribute with the given value and returns self.  : self

Properties

Methods

getStep()

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

public getStep() : int
Return values
int

setStep()

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

public setStep(int $step) : self
Parameters
$step : int
Return values
self

Search results