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

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

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

Свойство Тип Описание
$descriptions string[] Holds the collection of descriptions with languageCode keys.
$fieldSettings array Holds collection of settings for the field definition supported by the field type.
$names string[] Holds the collection of names with languageCode keys.
$validatorConfiguration mixed Holds validator configuration of this field definition supported by the field type.

Открытые методы

Метод Описание
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 ( ) : mixed This method returns the validator configuration of this field definition supported by the field type.

Описание методов

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 validator configuration of this field definition supported by the field type.
public getValidatorConfiguration ( ) : mixed
Результат mixed

Описание свойств

$descriptions защищенное свойство

Holds the collection of descriptions with languageCode keys.
protected string[] $descriptions
Результат string[]

$fieldSettings защищенное свойство

Holds collection of settings for the field definition supported by the field type.
protected array $fieldSettings
Результат array

$names защищенное свойство

Holds the collection of names with languageCode keys.
protected string[] $names
Результат string[]

$validatorConfiguration защищенное свойство

Holds validator configuration of this field definition supported by the field type.
protected mixed $validatorConfiguration
Результат mixed