PHP Класс eZ\Publish\Core\FieldType\BinaryFile\Type

This field type represents a simple string.
Наследование: extends eZ\Publish\Core\FieldType\BinaryBase\Type
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
fromPersistenceValue ( eZ\Publish\SPI\Persistence\Content\FieldValue $fieldValue ) : Value Converts a persistence $fieldValue to a Value.
getEmptyValue ( ) : Value Returns the fallback default value of field type when no such default value is provided in the field definition in content types.
getFieldTypeIdentifier ( ) : string Returns the field type identifier for this field type.
toHash ( eZ\Publish\SPI\FieldType\Value $value ) : mixed Converts a $Value to a hash.

Защищенные методы

Метод Описание
completeValue ( Basevalue $value ) Attempts to complete the data in $value.
createValue ( array $inputValue ) : Value Creates a specific value of the derived class from $inputValue.

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

completeValue() защищенный метод

Attempts to complete the data in $value.
protected completeValue ( Basevalue $value )
$value Basevalue

createValue() защищенный метод

Creates a specific value of the derived class from $inputValue.
protected createValue ( array $inputValue ) : Value
$inputValue array
Результат Value

fromPersistenceValue() публичный метод

This method builds a field type value from the $data and $externalData properties.
public fromPersistenceValue ( eZ\Publish\SPI\Persistence\Content\FieldValue $fieldValue ) : Value
$fieldValue eZ\Publish\SPI\Persistence\Content\FieldValue
Результат Value

getEmptyValue() публичный метод

Returns the fallback default value of field type when no such default value is provided in the field definition in content types.
public getEmptyValue ( ) : Value
Результат Value

getFieldTypeIdentifier() публичный метод

Returns the field type identifier for this field type.
public getFieldTypeIdentifier ( ) : string
Результат string

toHash() публичный метод

Converts a $Value to a hash.
public toHash ( eZ\Publish\SPI\FieldType\Value $value ) : mixed
$value eZ\Publish\SPI\FieldType\Value
Результат mixed