Method | Description | |
---|---|---|
fromPersistenceValue ( eZ\Publish\SPI\Persistence\Content\FieldValue $fieldValue ) : |
Converts a persistence $fieldValue to a Value. | |
getEmptyValue ( ) : |
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. |
Method | Description | |
---|---|---|
completeValue ( Basevalue $value ) | Attempts to complete the data in $value. | |
createValue ( array $inputValue ) : |
Creates a specific value of the derived class from $inputValue. |
protected completeValue ( Basevalue $value ) | ||
$value | Basevalue |
protected createValue ( array $inputValue ) : |
||
$inputValue | array | |
return |
public fromPersistenceValue ( eZ\Publish\SPI\Persistence\Content\FieldValue $fieldValue ) : |
||
$fieldValue | eZ\Publish\SPI\Persistence\Content\FieldValue | |
return |
public getEmptyValue ( ) : |
||
return |
public getFieldTypeIdentifier ( ) : string | ||
return | string |