ColdBox Platform Version 3.7.0

coldbox.system.validation.validators
Class SameAsNoCaseValidator

WEB-INF.cftags.component
        extended by coldbox.system.validation.validators.SameAsNoCaseValidator
All Implemented Interfaces:
IValidator

public class SameAsNoCaseValidator
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 field is the same as another field with no case sensitivity


Constructor Summary
init()
 
Method Summary
 void SETNAME(any name)
 string getName()
          Get the name of the validator
 boolean validate(IValidationResult validationResult, any target, string field, [any targetValue], [string validationData])
          Will check if an incoming value validates
 
Methods inherited from class WEB-INF.cftags.component
 

Constructor Detail

init

public init()

Method Detail

SETNAME

public void 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], [string 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 Version 3.7.0