Gibt es irgendwo eine Sammlung, was alles neu in Ver 4 implementiert wurde? Anlaß der Frage: ich bin vor kurzen ganz zufällig auf die neuen TS Zuweisungen ":= addToList() und removeFromList()" gestoßen. Nachdem ich wußte, dass es diese neue Funktionalität gibt, konnte ich auch gezielt in der neuen Core-Dokumentation danach suchen und bin auf das hier gestoßen:
1. The portion after the “:=”-operator and to the end of the line is split in two parts: A function and a value. The function is specified right next to the operator (trimmed) and holding the value in brackets (not trimmed).
2. There are four predefined functions:
2.1. prependString: Adds a string to the beginning of the existing value.
2.2 appendString: Adds a string to the end of the existing value.
2.3.removeString: Removes a string from the existing value.
2.4. replaceString: Replaces old with new value. Separate these using “|”.
2.5. addToList: Adds a comma-separated list of values to the end of a string value. There is no check for duplicate values, and the list is not sorted in any way.
2.6. removeFromList: Removes a comma-separated list of values from a comma-separated list.3. There is a hook inside class.t3lib_tsparser.php which can be used to define more functions like this.
Die Frage ist, sind noch mehr solche Gadgets in Typo3 4.0 "versteckt"? Ich rede nicht von den Big Points wie Versionsmanagement, das findet man ja auch hier unter den News zu V4.0, sondern von so Kleinigkeiten wie den eben beschriebenen.