PHP Class Constraint_regex, silverstripe-zenvalidator

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

Protected Properties

Свойство Type Description
$regex string

Méthodes publiques

Méthode Description
__construct ( string $regex )
applyParsley ( )
getConstraintName ( )
getDefaultMessage ( )
removeParsley ( )
validate ( $value )

Method Details

__construct() public méthode

public __construct ( string $regex )
$regex string

applyParsley() public méthode

public applyParsley ( )

getConstraintName() public méthode

public getConstraintName ( )

getDefaultMessage() public méthode

public getDefaultMessage ( )

removeParsley() public méthode

public removeParsley ( )

validate() public méthode

public validate ( $value )

Property Details

$regex protected_oe property

protected string $regex
Résultat string