PHP 클래스 eZ\Publish\Core\FieldType\BinaryFile\Type

This field type represents a simple string.
상속: extends eZ\Publish\Core\FieldType\BinaryBase\Type
파일 보기 프로젝트 열기: ezsystems/ezpublish-kernel 1 사용 예제들

공개 메소드들

메소드 설명
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