PHP Class Constraint_comparison, silverstripe-zenvalidator

Inheritance: extends ZenValidatorConstraint
Afficher le fichier Open project: sheadawson/silverstripe-zenvalidator

Protected Properties

Свойство Type Description
$targetField string
$type type

Méthodes publiques

Méthode Description
__construct ( string $type, string $field )
applyParsley ( )
getDefaultMessage ( )
getTargetField ( ) : FormField
removeParsley ( )
validate ( $value )

Method Details

__construct() public méthode

public __construct ( string $type, string $field )
$type string Type of validation
$field string the Name of the field to match

applyParsley() public méthode

public applyParsley ( )

getDefaultMessage() public méthode

public getDefaultMessage ( )

getTargetField() public méthode

public getTargetField ( ) : FormField
Résultat FormField

removeParsley() public méthode

public removeParsley ( )

validate() public méthode

public validate ( $value )

Property Details

$targetField protected_oe property

protected string $targetField
Résultat string

$type protected_oe property

protected type $type
Résultat type