PHP 클래스 Constraint_comparison, silverstripe-zenvalidator

상속: extends ZenValidatorConstraint
파일 보기 프로젝트 열기: sheadawson/silverstripe-zenvalidator

보호된 프로퍼티들

프로퍼티 타입 설명
$targetField string
$type type

공개 메소드들

메소드 설명
__construct ( string $type, string $field )
applyParsley ( )
getDefaultMessage ( )
getTargetField ( ) : FormField
removeParsley ( )
validate ( $value )

메소드 상세

__construct() 공개 메소드

public __construct ( string $type, string $field )
$type string Type of validation
$field string the Name of the field to match

applyParsley() 공개 메소드

public applyParsley ( )

getDefaultMessage() 공개 메소드

public getDefaultMessage ( )

getTargetField() 공개 메소드

public getTargetField ( ) : FormField
리턴 FormField

removeParsley() 공개 메소드

public removeParsley ( )

validate() 공개 메소드

public validate ( $value )

프로퍼티 상세

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

protected string $targetField
리턴 string

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

protected type $type
리턴 type