Toggle navigation
Hot Examples
ES
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Buscar
Inicio
Constraint_type
PHP Class Constraint_type, silverstripe-zenvalidator
Inheritance:
extends
ZenValidatorConstraint
Mostrar archivo
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