PHP 클래스 eZ\Publish\Core\FieldType\Validator\FileSizeValidator

상속: extends eZ\Publish\Core\FieldType\Validator
파일 보기 프로젝트 열기: ezsystems/ezpublish-kernel 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$constraints
$constraintsSchema

공개 메소드들

메소드 설명
validate ( Value $value ) : boolean Checks if $value->file has the appropriate size.
validateConstraints ( $constraints )

메소드 상세

validate() 공개 메소드

Checks if $value->file has the appropriate size.
public validate ( Value $value ) : boolean
$value eZ\Publish\Core\FieldType\Value
리턴 boolean

validateConstraints() 공개 메소드

public validateConstraints ( $constraints )

프로퍼티 상세

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

protected $constraints

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

protected $constraintsSchema