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).|
|CB||array||Clipboard command array. May trigger changes in "cmd".|