PHP 클래스 Constraint_length, silverstripe-zenvalidator

상속: extends ZenValidatorConstraint
파일 보기 프로젝트 열기: sheadawson/silverstripe-zenvalidator 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$type string
$val1
$val2

공개 메소드들

메소드 설명
__construct ( string $type, integer $val1, integer $val2 = null )
applyParsley ( )
getConstraintName ( )
getDefaultMessage ( )
removeParsley ( )
validate ( $value )

메소드 상세

__construct() 공개 메소드

public __construct ( string $type, integer $val1, integer $val2 = null )
$type string (min,max,range)
$val1 integer
$val2 integer

applyParsley() 공개 메소드

public applyParsley ( )

getConstraintName() 공개 메소드

public getConstraintName ( )

getDefaultMessage() 공개 메소드

public getDefaultMessage ( )

removeParsley() 공개 메소드

public removeParsley ( )

validate() 공개 메소드

public validate ( $value )

프로퍼티 상세

$type 보호되어 있는 프로퍼티

protected string $type
리턴 string

$val1 보호되어 있는 프로퍼티

protected $val1

$val2 보호되어 있는 프로퍼티

protected $val2