PHP Class Constraint_regex, silverstripe-zenvalidator

Inheritance: extends ZenValidatorConstraint
Datei anzeigen Open project: sheadawson/silverstripe-zenvalidator Class Usage Examples

Protected Properties

Property Type Description
$regex string

Public Methods

Method Description
__construct ( string $regex )
applyParsley ( )
getConstraintName ( )
getDefaultMessage ( )
removeParsley ( )
validate ( $value )

Method Details

__construct() public method

public __construct ( string $regex )
$regex string

applyParsley() public method

public applyParsley ( )

getConstraintName() public method

public getConstraintName ( )

getDefaultMessage() public method

public getDefaultMessage ( )

removeParsley() public method

public removeParsley ( )

validate() public method

public validate ( $value )

Property Details

$regex protected_oe property

protected string $regex
return string