Learning: Content Class
A content class is made up of a collection of datatypes. It is similar to a table in a database. The class itself doesn’t store any data, it simply defines the structure of the data to be stored. eZ publish has a selection of inbuilt content classes that will cater for the majority of user’s needed. As with datatypes, you can create your own
The following table is an example of a custom news item Content Class
Attribute |
Datatype |
Headline |
Text line |
Author |
Text Line |
Publication |
Text Line |
Photo |
Image |
Date |
Date |
Body |
XML block |