Toggle navigation
Hot Examples
JP
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
検索
Home
Constraint_length
PHP Class Constraint_length, silverstripe-zenvalidator
Inheritance:
extends
ZenValidatorConstraint
ファイルを表示
Open project: sheadawson/silverstripe-zenvalidator
Class Usage Examples
Protected Properties
Property
Type
Description
$type
string
$val1
$val2
Public Methods
Method
Description
__construct
(
string
$type
,
integer
$val1
,
integer
$val2
= null )
applyParsley
( )
getConstraintName
( )
getDefaultMessage
( )
removeParsley
( )
validate
(
$value
)
Method Details
__construct()
public
method
public
__construct
(
string
$type
,
integer
$val1
,
integer
$val2
= null )
$type
string
(min,max,range)
$val1
integer
$val2
integer
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
$type
protected_oe property
protected
string
$type
return
string
$val1
protected_oe property
protected
$val1
$val2
protected_oe property
protected
$val2