Свойство | Type | Description | |
---|---|---|---|
$settingsSchema | array |
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. | |
isSearchable ( ) : boolean | Returns whether the field type is searchable. | |
toHash ( eZ\Publish\SPI\fieldType\Value $value ) : mixed | Converts a $Value to a hash. | |
validateFieldSettings ( mixed $fieldSettings ) : eZ\Publish\SPI\FieldType\ValidationError[] | Validates the fieldSettings of a FieldDefinitionCreateStruct or FieldDefinitionUpdateStruct. |
Méthode | Description | |
---|---|---|
checkValueStructure ( |
Throws an exception if value structure is not of expected format. | |
completeValue ( |
Attempts to complete the data in $value. | |
createValue ( array $inputValue ) : |
Creates a specific value of the derived class from $inputValue. |
protected checkValueStructure ( |
||
$value |
protected completeValue ( |
||
$value |
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 |
public isSearchable ( ) : boolean | ||
Résultat | boolean |
public validateFieldSettings ( mixed $fieldSettings ) : eZ\Publish\SPI\FieldType\ValidationError[] | ||
$fieldSettings | mixed | |
Résultat | eZ\Publish\SPI\FieldType\ValidationError[] |