2015. Class

2015.1. Zend\Validator\Step

2015.1.1. Methods

2015.1.1.1. __construct

__construct()

Set default options for this instance

Parameters:array

2015.1.1.2. setBaseValue

setBaseValue()

Sets the base value from which the step should be computed

Parameters:mixed
Return type:Step

2015.1.1.3. getBaseValue

getBaseValue()

Returns the base value from which the step should be computed

Return type:string

2015.1.1.4. setStep

setStep()

Sets the step value

Parameters:mixed
Return type:Step

2015.1.1.5. getStep

getStep()

Returns the step value

Return type:string

2015.1.1.6. isValid

isValid()

Returns true if $value is a scalar and a valid step value

Parameters:mixed
Return type:bool

2015.1.1.7. fmod

fmod()

replaces the internal fmod function which give wrong results on many cases

Parameters:
  • float
  • float
Return type:

float

2015.1.2. Constants

2015.1.2.1. INVALID

2015.1.2.2. NOT_STEP