Méthode | 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. |
Méthode | 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 | |
Résultat |
public fromPersistenceValue ( eZ\Publish\SPI\Persistence\Content\FieldValue $fieldValue ) : |
||
$fieldValue | eZ\Publish\SPI\Persistence\Content\FieldValue | |
Résultat |
public getEmptyValue ( ) : |
||
Résultat |
public getFieldTypeIdentifier ( ) : string | ||
Résultat | string |