PHP Class Constraint_type, silverstripe-zenvalidator

Inheritance: extends ZenValidatorConstraint
Mostra file Open project: sheadawson/silverstripe-zenvalidator Class Usage Examples

Protected Properties

Property Type Description
$type string

Public Methods

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

Method Details

__construct() public method

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

applyParsley() public method

public applyParsley ( )

getDefaultMessage() public method

public getDefaultMessage ( )

removeParsley() public method

public removeParsley ( )

validate() public method

public validate ( $value )

Property Details

$type protected_oe property

protected string $type
return string