Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,059 of 9,059 pages
About the help in other languages
All help pages

Module 4: Content classes and datatypes

The fourth module of the Developers course. Learners read the content model by identifiers, change how one field looks with a datatype override, read and write content from PHP, and generate a datatype of their own with…

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/help/trainers/developers/module-04-content-classes-and-datatypes/README.md

On this page

Module 4: Content classes and datatypes

Templates show content; this module is about the content itself, from a developer's side. Learners create a small class, find its identifiers from PHP, change the view of one field with an override, write content from a script, and finish with a datatype of their own written by the RAD wizard.

At a glance

CourseDevelopers
Duration3 hours 40 minutes (with one 10-minute break)
Lessons4
LevelIntermediate to advanced

Lessons

LessonDurationWhat learners do
Lesson 4.1: Classes, attributes and identifiers50 minutesCreate the Note class, list its attributes from PHP
Lesson 4.2: Datatypes and their templates45 minutesRead datatype templates, override the title of notes
Lesson 4.3: Reading and writing content from PHP55 minutesCreate and update a note with eZContentFunctions
Lesson 4.4: A datatype of your own60 minutesGenerate a datatype with the Datatype wizard, add it to a class

Preparing this module

  • Every learner needs an administrator account on their own training installation: the module creates a class, writes content and generates an extension.
  • On a shared installation, each learner uses their initials in class and extension names (note_ab, mysite_rating_ab) and their own course folder.
  • Lesson 4.4 writes files below extension/: the web server user must be allowed to write there on the training installation (never on a live site).
  • Rehearse the wizard once on your own installation and keep the list of files it wrote for the discussion.

Timing plan

PartMinutes
Lesson 4.150
Lesson 4.245
Break10
Lesson 4.355
Lesson 4.460
Total220

Become an Exponential Partner

Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x