O'Reilly logo

Mastering TypoScript: TYPO3 Website, Template, and Extension Development by Daniel Koch

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Datatypes

Like other programming languages TypoScript has datatypes, but there are some differences between datatypes in TypoScript and in other languages. There are too many datatypes to list here, so we will only look at the basic types here.

Simple Datatypes

Some of the datatypes in TypoScript occur in other programming languages, but others will be less familiar. The following table shows you some of the more important datatypes:

Data type

Description

boolean

The truth content of a statement is represented as a boolean value. By default, the values used are 1 for true and 0 for false.

int

An integer is represented by an int value. For example, the xy property of a GIFBUILDER object, which determines the size of the graphic, is represented ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required