The “tce_db.php” API¶
This script is a gateway for POST forms to class
has historically been the script to which data was posted when you
wanted to update something in the database.
Today it is used for editing by only a few scripts, actually only the
“Quick Edit” module in “Web>Page” (frontend). The standard forms you
find in TYPO3 are normally rendered and handled by
\TYPO3\CMS\Core\DataHandling\DataHandler on its own.
For commands it is still used from various locations.
You can send data to this file either as GET or POST vars where POST takes precedence. The variable names you can use are:
|GP var name||Data type||Description|
Data array on the form
Typically it comes from a POST form which submits a form field like
Command array on the form
Typically this comes from GET vars passed to the script like
|cacheCmd||string||Cache command sent to
|redirect||string||Redirect URL. Script will redirect to this location after performing operations (unless errors has occurred)|
|flags||array||Accepts options to be set in TCE object. Currently it supports “reverseOrder” (boolean).|
|prErr||boolean||If set, errors will be printed on screen instead of redirection. Should always be used, otherwise you will see no errors if they happen.|
|CB||array||Clipboard command array. May trigger changes in “cmd”.|
|uPT||string||Update Page Tree Trigger. If set and the manipulated records are pages then the update page tree signal will be set.|