Core API
4.1.1. What is $TCA?
This global array in TYPO3 defines the editable database tables and the relationship between them and how the fields in tables are rendered in backend forms and processed in the TCE and so on.
The array is highly extendable through extensions and in fact only four tables are configured by default in TYPO3. These four tables - those which are required for any TYPO3 installation - is configured in the file "t3lib/stddb/tables.php". The tables are:
-
the "pages" table containing the page tree of TYPO3
-
the "be_users" table containing backend users
-
the "be_groups" table containing backend user groups
-
the "sys_filemounts" table containing file mounts for backend users.
All other tables are configured in extensions.
The file "t3lib/stddb/tables.php" contains not only the $TCA definition. You can also find other global core variables defined there. For instance $PAGES_TYPES, $ICON_TYPES and $LANG_GENERAL_LABELS which are also used in relation to $TCA but much less important and probably not relavant for you to use. There are more details on these arrays further ahead in this document.