LanguageMarker
FinalYes
Introduce reserved language values that do not point to a configured site language.
Every other language value is the ID of a site language, so this is deliberately a set of markers and not an enum: language values stay integers, and these constants only name the values that carry a special meaning.
not part of TYPO3 Core API.
Table of Contents
Constants
- ALL_LANGUAGES : int = -1
- A record whose language field (usually "sys_language_uid") holds this value is valid in every language of a site. It is never translated, and it is never overlaid. Backend logic, selectors and filters use the same value to express "all languages", even where it is not read from a record.
Constants
ALL_LANGUAGES
A record whose language field (usually "sys_language_uid") holds this value is valid in every language of a site. It is never translated, and it is never overlaid. Backend logic, selectors and filters use the same value to express "all languages", even where it is not read from a record.
public
int
ALL_LANGUAGES
= -1
Other uses of -1, for example in calculations, are unrelated to this marker.