|
ColdBox Platform v3.8.0
|
FRAMES
|
coldbox.system.validation.validators
Class
MinValidator
WEB-INF.cftags.component
coldbox.system.validation.validators.MinValidator
- All Implemented Interfaces:
-
IValidator
-
public class MinValidator
- extends WEB-INF.cftags.component
******************************************************************************* Copyright Since 2005 ColdBox Framework by Luis Majano and Ortus Solutions, Corp www.coldbox.org | www.luismajano.com | www.ortussolutions.com ******************************************************************************* This validator validates if a value is is greater than a minimum number
Property Summary
|
Type
|
Property & Description
|
Default
|
Serializable
|
Required
|
any
|
name
Attributes:
|
|
true
|
false
|
Constructor Summary |
init()
|
Methods inherited from class WEB-INF.cftags.component |
None
|
init
public init()
-
name
any name
-
- Attributes:
default
-
serializable
- true
required
- false
SETNAME
public MinValidator SETNAME(any name)
-
- Parameters:
name
getName
public string getName()
-
Get the name of the validator
- Specified by:
-
getName
in interface
IValidator
validate
public boolean validate(IValidationResult validationResult, any target, string field, [any targetValue], [any validationData])
-
Will check if an incoming value validates
- Specified by:
-
validate
in interface
IValidator
- Parameters:
validationResult
- The result object of the validation
target
- The target object to validate on
field
- The field on the target object to validate on
targetValue
- The target value to validate
validationData
- The validation data the validator was created with
|
ColdBox Platform v3.8.0
|
FRAMES
|