PHP 클래스 eZ\Publish\Core\REST\Client\Values\ContentType\FieldDefinition

상속: extends eZ\Publish\API\Repository\Values\ContentType\FieldDefinition
파일 보기 프로젝트 열기: ezsystems/ezpublish-kernel

보호된 프로퍼티들

프로퍼티 타입 설명
$descriptions string[] Contains the human readable description of the field.
$fieldSettings array Contains settings for the field definition supported by the field type.
$names string[] Contains the human readable name of this field in all provided languages of the content type.
$validators eZ\Publish\Core\FieldType\Validator[] Contains the validators of this field definition supported by the field type#.

공개 메소드들

메소드 설명
__construct ( array $data = [] )
getDescription ( string $languageCode ) : string This method returns the name of the field in the given language.
getDescriptions ( ) : string[] This method returns the human readable description of the field.
getFieldSettings ( ) : array This method returns settings for the field definition supported by the field type.
getName ( string $languageCode ) : string This method returns the name of the field in the given language.
getNames ( ) : string[] This method returns the human readable name of this field in all provided languages of the content type.
getValidatorConfiguration ( ) : Validator[] This method returns the validators of this field definition supported by the field type.

메소드 상세

__construct() 공개 메소드

public __construct ( array $data = [] )
$data array

getDescription() 공개 메소드

This method returns the name of the field in the given language.
public getDescription ( string $languageCode ) : string
$languageCode string
리턴 string the description for the given language or null if none exists.

getDescriptions() 공개 메소드

The structure of this field is: array( 'eng' => '', 'de' => '' );
public getDescriptions ( ) : string[]
리턴 string[]

getFieldSettings() 공개 메소드

This method returns settings for the field definition supported by the field type.
public getFieldSettings ( ) : array
리턴 array

getName() 공개 메소드

This method returns the name of the field in the given language.
public getName ( string $languageCode ) : string
$languageCode string
리턴 string the name for the given language or null if none exists.

getNames() 공개 메소드

The structure of the return value is: array( 'eng' => '', 'de' => '' );
public getNames ( ) : string[]
리턴 string[]

getValidatorConfiguration() 공개 메소드

This method returns the validators of this field definition supported by the field type.
public getValidatorConfiguration ( ) : Validator[]
리턴 eZ\Publish\Core\FieldType\Validator[]

프로퍼티 상세

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

Contains the human readable description of the field.
protected string[] $descriptions
리턴 string[]

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

Contains settings for the field definition supported by the field type.
protected array $fieldSettings
리턴 array

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

Contains the human readable name of this field in all provided languages of the content type.
protected string[] $names
리턴 string[]

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

Contains the validators of this field definition supported by the field type#.
protected Validator[],eZ\Publish\Core\FieldType $validators
리턴 eZ\Publish\Core\FieldType\Validator[]