eZPublishCommunityProject  2013.9
eZ\Publish\Core\Persistence\FieldType Class Reference
+ Inheritance diagram for eZ\Publish\Core\Persistence\FieldType:
+ Collaboration diagram for eZ\Publish\Core\Persistence\FieldType:

Public Member Functions

 __construct (SPIFieldType $fieldType)
 Creates a new FieldType object. More...
 
 getEmptyValue ()
 Returns the empty value for the field type that can be processed by the storage engine. More...
 
- Public Member Functions inherited from eZ\Publish\API\Repository\FieldType
 fieldSettingsFromHash ($fieldSettingsHash)
 Converts the given $fieldSettingsHash to field settings of the type. More...
 
 fieldSettingsToHash ($fieldSettings)
 Converts the given $fieldSettings to a simple hash format. More...
 
 fromHash ($hash)
 Converts an $hash to the Value defined by the field type. More...
 
 getFieldTypeIdentifier ()
 Returns the field type identifier for this field type. More...
 
 getName ($value)
 Returns a human readable string representation from the given $value. More...
 
 getSettingsSchema ()
 Returns a schema for the settings expected by the FieldType. More...
 
 getValidatorConfigurationSchema ()
 Returns a schema for the validator configuration expected by the FieldType. More...
 
 isEmptyValue ($value)
 Returns if the given $value is considered empty by the field type. More...
 
 isSearchable ()
 Indicates if the field type supports indexing and sort keys for searching. More...
 
 isSingular ()
 Indicates if the field definition of this type can appear only once in the same ContentType. More...
 
 onlyEmptyInstance ()
 Indicates if the field definition of this type can be added to a ContentType with Content instances. More...
 
 toHash ($value)
 Converts the given $value into a plain hash format. More...
 
 validatorConfigurationFromHash ($validatorConfigurationHash)
 Converts the given $validatorConfigurationHash to a validator configuration of the type. More...
 
 validatorConfigurationToHash ($validatorConfiguration)
 Converts the given $validatorConfiguration to a simple hash format. More...
 

Protected Attributes

 $internalFieldType
 

Constructor & Destructor Documentation

eZ\Publish\Core\Persistence\FieldType::__construct ( SPIFieldType  $fieldType)

Creates a new FieldType object.

Parameters
\eZ\Publish\SPI\FieldType\FieldType$fieldType

Member Function Documentation

eZ\Publish\Core\Persistence\FieldType::getEmptyValue ( )

Returns the empty value for the field type that can be processed by the storage engine.

Returns

Implements eZ\Publish\API\Repository\FieldType.

Member Data Documentation

eZ\Publish\Core\Persistence\FieldType::$internalFieldType
protected

The documentation for this class was generated from the following file: