PHP 클래스 Constraint_type, silverstripe-zenvalidator

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

보호된 프로퍼티들

프로퍼티 타입 설명
$type string

공개 메소드들

메소드 설명
__construct ( string $type )
applyParsley ( )
getDefaultMessage ( )
removeParsley ( )
validate ( $value )

메소드 상세

__construct() 공개 메소드

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

applyParsley() 공개 메소드

public applyParsley ( )

getDefaultMessage() 공개 메소드

public getDefaultMessage ( )

removeParsley() 공개 메소드

public removeParsley ( )

validate() 공개 메소드

public validate ( $value )

프로퍼티 상세

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

protected string $type
리턴 string