Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
eZ
Publish
Core
FieldType
Validator
FileSizeValidator
PHP Class eZ\Publish\Core\FieldType\Validator\FileSizeValidator
Inheritance:
extends
eZ\Publish\Core\FieldType\Validator
Show file
Open project: ezsystems/ezpublish-kernel
Class Usage Examples
Protected Properties
Property
Type
Description
$constraints
$constraintsSchema
Public Methods
Method
Description
validate
(
Value
$value
) :
boolean
Checks if $value->file has the appropriate size.
validateConstraints
(
$constraints
)
Method Details
validate()
public
method
Checks if $value->file has the appropriate size.
public
validate
(
Value
$value
) :
boolean
$value
eZ\Publish\Core\FieldType\Value
return
boolean
validateConstraints()
public
method
public
validateConstraints
(
$constraints
)
Property Details
$constraints
protected property
protected
$constraints
$constraintsSchema
protected property
protected
$constraintsSchema