Global navigation

   Documentation Center
   eZ Studio & eZ Platform
     User Manual
     Technical Manual
     Glossary
   eZ Publish 4.x / legacy

 
eZ Publish (5.x)

eZ Publish 5.x | For eZ Platform & eZ Studio topics see Technical manual and User manual, for eZ Publish 4.x and Legacy topics see eZ Publish legacy

Skip to end of metadata
Go to start of metadata

This page contains FieldTypes reference introduced with eZ Publish 5.x.
FiledTypes were known as DataTypes in eZ Publish 4.x, and are still used in "Dual kernel" eZ Publish 5.x. If you would like more details please refer to the 4.x DataTypes reference documentation page.

For the general FieldType documentation see Field Type API and best practices.

If you are looking for the documentation on how to implement a custom FieldType, see eZ Publish 5 Field Type Tutorial.

A FieldType is the smallest possible entity of storage. It determines how a specific type of information should be validated, stored, retrieved, formatted and so on. eZ Publish comes with a collection of fundamental datatypes that can be used to build powerful and complex content structures. In addition, it is possible to extend the system by creating custom FieldTypes for special needs. Custom FieldTypes have to be programmed in PHP. However, the built in FieldTypes are usually sufficient enough for typical scenarios. The following table gives an overview of the supported FieldTypes that come with eZ Publish.

 

FieldTypeDescriptionSearchable in Legacy Storage engine
AuthorField type used to store a list of authors, consisting of author name, and author email.No.
BinaryFileField type used to store a file.Yes.
CheckboxField type which stores boolean values.Yes.
CountryThis field type stores country names as a string.Yes.
DateAndTimeField type used to store a full date including time information.Yes.
DateField type used to store a date information.Yes.
EmailAddressThis field type is used to validate and store an email address.Yes.
FloatField type used to validate and store a decimal value.No.
ImageField type used to validate and store an image.No.
IntegerField type which validates and stores an integer value.Yes.
ISBNHandles International Standard Book Number (ISBN) in 10-digit or 13-digit format.Yes.
KeywordField type used to store keywords.No.
MapLocationField type used to store map coordinates.Yes, with MapLocationDistance criterion.
MatrixAvailable via community Bundle: https://github.com/ezcommunity/EzMatrixFieldTypeBundle 
MediaValidates and stores a media file.No.
NullThis field type is used for fallback for missing field types and for testing purposes.No.
PageField type used to manage display zones and blocks in a page (formerly known as eZ Flow datatype).No.
PriceAvailable via community Bundle: https://github.com/ezcommunity/EzPriceBundle 
RatingField type which stores a rating.No.
RelationField type which validates and stores a relation to a content item.Yes, with both Field and FieldRelation criterions.
RelationListField type that validates and stores a list of relations to content items.Yes, with FieldRelation criterion.
SelectionField type which validates and stores a single selection or multiple choices from a list of options.Yes.
Selection2Available via community Bundle: https://github.com/netgen/NetgenEnhancedSelectionBundle 
TagsAvailable via community Bundle: https://github.com/netgen/TagsBundle 
TextBlockValidates and stores a larger block of text.No.
TextLineThis field type validates and stores a single line of text.Yes.
TimeField type used to store a time information.Yes.
UrlField type used to store an URL / address.No.
UserField type that validates and stores information about a user.No.
XmlTextField type that validates and stores multiple lines of formatted text..Yes.

 

Known missing field types

The following FieldTypes are configured using Null FieldType to avoid exceptions if they exists in your database, but their functionality is currently not known to be implemented out of the box or by the community:

EZP-20112 - Some Shop FieldTypes are not supported by Public API Backlog

EZP-20115 - eZ Identifier FieldType not supported by Public API Backlog

EZP-20114 - Deprecated FieldTypes (ezenum, ezinisetting, ezpackage) not supported by Public API Closed

EZP-20116 - eZ SubtreeSubscription FieldType not supported by Public API Closed

EZP-20117 - eZ Survey FieldType not supported by Public API Closed

EZP-20118 - eZ Password Expiry FieldType not supported by Public API Backlog

 

 

 

2 Comments

  1. I'd kind of expect the searchable info to be on each FieldType's reference page.

  2. I can only agree with that (smile)

    Created an issue:  EZP-24338 - Document field types search support per field type and search engine Backlog