Class Validator
The base for validation classes.
- Flikore\Validator\Validator implements Flikore\Validator\Interfaces\IValidator
Direct known subclasses
Flikore\Validator\ValidationChoice
,
Flikore\Validator\ValidationCombo
,
Flikore\Validator\Validators\InstanceOfValidator
,
Flikore\Validator\Validators\IPv4Validator
,
Flikore\Validator\Validators\IPv6Validator
,
Flikore\Validator\Validators\LengthBetweenValidator
,
Flikore\Validator\Validators\LessThanValidator
,
Flikore\Validator\Validators\LetterNumericValidator
,
Flikore\Validator\Validators\LetterValidator
,
Flikore\Validator\Validators\MaxLengthValidator
,
Flikore\Validator\Validators\MaxValueValidator
,
Flikore\Validator\Validators\MinAgeValidator
,
Flikore\Validator\Validators\AfterDateTimeValidator
,
Flikore\Validator\Validators\MinLengthValidator
,
Flikore\Validator\Validators\MinValueValidator
,
Flikore\Validator\Validators\NotEmptyValidator
,
Flikore\Validator\Validators\NumericValidator
,
Flikore\Validator\Validators\RecursiveValidator
,
Flikore\Validator\Validators\RegexValidator
,
Flikore\Validator\Validators\UriValidator
,
Flikore\Validator\Validators\ValueBetweenValidator
,
Flikore\Validator\Validators\BeforeDateTimeValidator
,
Flikore\Validator\Validators\DateTimeValidator
,
Flikore\Validator\Validators\EmailValidator
,
Flikore\Validator\Validators\EqualsValidator
,
Flikore\Validator\Validators\ExactLengthValidator
,
Flikore\Validator\Validators\ExactValueValidator
,
Flikore\Validator\Validators\GreaterThanValidator
Indirect known subclasses
Flikore\Validator\Validators\AlphaNumericValidator
,
Flikore\Validator\Validators\AlphaValidator
,
Flikore\Validator\Validators\DateValidator
,
Flikore\Validator\Validators\MaxDateTimeValidator
,
Flikore\Validator\Validators\MinDateTimeValidator
,
Flikore\Validator\Validators\NoSpaceValidator
,
Flikore\Validator\Validators\NotEqualsValidator
,
Flikore\Validator\Validators\OrValidator
Namespace: Flikore\Validator
Package: Flikore\Validator
Copyright: (c) 2014, George Marques
License: MIT
Author: George Marques <george at georgemarques.com.br>
Version: 0.5.2
Since: 0.1
Located at Flikore/Validator/Validator.php
Methods summary
public
boolean
|
|
public
|
|
public
string
|
#
getErrorMessage( )
Gets the error message for this validation. This should work whether or not there was a test before. |
public
|
|
public
|
#
addKeyValue( string $key, string $value )
Adds a new key-value pair to be replaced by the templating engine. This does not check if it's replacing a specific validator value. |
protected
string
|
|
abstract protected
boolean
|
|
protected
boolean
|
Magic methods summary
Properties summary
protected
string
|
$message |
#
The error message for this validator. |
protected
array
|
$values |
#
Stores the values to change in the template. |