eZ Publish Community Project (Legacy Stack) 2013.4
Class

eZFloatValidator

class eZFloatValidator extends eZRegExpValidator

Constants

STATE_ACCEPTED

STATE_INTERMEDIATE

STATE_INVALID

Properties

$RegExpRule
$MinValue
$MaxValue

Methods

eZRegExpValidator($rule = null)

from eZRegExpValidator
setRegExpRule($rule)

from eZRegExpValidator
validate($text)

fixup($text)

eZFloatValidator($min = false, $max = false)

setRange($min, $max)

Details

in eZRegExpValidator at line 19
public eZRegExpValidator($rule = null)

Parameters

$rule

in eZRegExpValidator at line 25
public setRegExpRule($rule)

Parameters

$rule

at line 42
public validate($text)

Parameters

$text

at line 54
public fixup($text)

Parameters

$text

at line 22
public eZFloatValidator($min = false, $max = false)

Parameters

$min
$max

at line 34
public setRange($min, $max)

Parameters

$min
$max