PHP Class Constraint_type, silverstripe-zenvalidator

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

Protected Properties

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

Méthodes publiques

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

Method Details

__construct() public méthode

public __construct ( string $type )
$type string - allowed datatype

applyParsley() public méthode

public applyParsley ( )

getDefaultMessage() public méthode

public getDefaultMessage ( )

removeParsley() public méthode

public removeParsley ( )

validate() public méthode

public validate ( $value )

Property Details

$type protected_oe property

protected string $type
Résultat string