TCA basics · Question 1 of 12
What do the fields uid and pid mean in a table managed by TYPO3?
1 answer is correct. Easy
Show answer
Answer
- B uid is the unique ID of the record, pid is the ID of the page it is stored on
Explanation
Every table managed by TYPO3 has the auto-incremented primary key uid and the field pid ("page id"), which refers to pages.uid. This way every record belongs to a page or folder in the page tree, which also matters for permissions, because backend permissions are tied to pages. For pages themselves, pid points to the parent page, and pid = 0 means the root level. The language of a record, in contrast, is stored in a separate field, usually sys_language_uid, and the original of a translation in l10n_parent.