Constructor
new module:br/presenter/validator/CrossValidationPropertyBinder()
Methods
-
bindValidator(mProperties, oCrossPropertyValidator)
-
Binds the given validator to the set of named properties provided.
Parameters:
Name Type Description mProperties
Object The set of named properties that oCrossPropertyValidator
expects.oCrossPropertyValidator
module:br/presenter/validator/CrossPropertyValidator The validator that will validate mProperties
.- See:
Returns:
A numeric bind ID that can be used to later unbind this validator using#unbindValidator
. -
unbindValidator(nBindId)
-
Unbinds a cross-property validator previously set-up using
#bindValidator
.Parameters:
Name Type Description nBindId
int A numeric bind ID previously returned by #bindValidator
.- See: