PHP 클래스 eZ\Publish\Core\FieldType\ValidationError

상속: implements eZ\Publish\SPI\FieldType\ValidationError
파일 보기 프로젝트 열기: ezsystems/ezpublish-kernel

보호된 프로퍼티들

프로퍼티 타입 설명
$plural string
$singular string
$target string Example: StringLengthValidator[minStringLength]
$values array

공개 메소드들

메소드 설명
__construct ( string $singular, string $plural = null, array $values = [], $target = null )
getTarget ( )
getTranslatableMessage ( ) : eZ\Publish\API\Repository\Values\Translation Returns a translatable Message.
setTarget ( $target )

메소드 상세

__construct() 공개 메소드

public __construct ( string $singular, string $plural = null, array $values = [], $target = null )
$singular string
$plural string
$values array

getTarget() 공개 메소드

public getTarget ( )

getTranslatableMessage() 공개 메소드

Returns a translatable Message.
public getTranslatableMessage ( ) : eZ\Publish\API\Repository\Values\Translation
리턴 eZ\Publish\API\Repository\Values\Translation

setTarget() 공개 메소드

public setTarget ( $target )

프로퍼티 상세

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

protected string $plural
리턴 string

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

protected string $singular
리턴 string

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

Example: StringLengthValidator[minStringLength]
protected string $target
리턴 string

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

protected array $values
리턴 array