CxValidate
in package
AbstractYes
An abstract base for ZendValidator-Style instantiable Validators
Tags
Table of Contents
Properties
- $constraints : mixed
- $messages : mixed
- $passesValidation : mixed
- $validateEmpty : bool
- If empty values are allowed in the validation check
Methods
- __construct() : mixed
- getMessages() : mixed
- isValid() : mixed
Properties
$constraints
protected
mixed
$constraints
$messages
protected
mixed
$messages
$passesValidation
protected
mixed
$passesValidation
$validateEmpty
If empty values are allowed in the validation check
protected
bool
$validateEmpty
Methods
__construct()
public
__construct(mixed $constraints[, mixed $validateEmpty = false ]) : mixed
Parameters
- $constraints : mixed
- $validateEmpty : mixed = false
getMessages()
public
getMessages() : mixed
isValid()
public
abstract isValid(mixed $value) : mixed
Parameters
- $value : mixed