프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$settingsSchema | array |
메소드 | 설명 | |
---|---|---|
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. |
메소드 | 설명 | |
---|---|---|
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 | |
리턴 |
public fromPersistenceValue ( eZ\Publish\SPI\Persistence\Content\FieldValue $fieldValue ) : |
||
$fieldValue | eZ\Publish\SPI\Persistence\Content\FieldValue | |
리턴 |
public getEmptyValue ( ) : |
||
리턴 |
public getFieldTypeIdentifier ( ) : string | ||
리턴 | string |
public isSearchable ( ) : boolean | ||
리턴 | boolean |
public validateFieldSettings ( mixed $fieldSettings ) : eZ\Publish\SPI\FieldType\ValidationError[] | ||
$fieldSettings | mixed | |
리턴 | eZ\Publish\SPI\FieldType\ValidationError[] |