PHP Класс eZ\Publish\Core\REST\Client\Values\ContentType\FieldDefinition

Наследование: extends eZ\Publish\API\Repository\Values\ContentType\FieldDefinition
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$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[]