Learning: Datatype

A datatype is the smallest unit of storage. It’s similar to a field in a database table. eZ publish comes with a standard set of datatypes that provide the majority of content storage needs eg. text line, text block, date, image, file, email. The following table shows the most commonly used datatypes.

Text line

A single line of unformatted text

Text block

Multiple lines of unformatted text

XML block

Multiple lines of formatted text

Integer

Handles an integer number

Float

Handles a decimal number

You can however, create your own custom datatypes if your needs aren’t covered by what eZ publish provide by default.