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.

Certifications & exams

Which exam comes next?

You can already practise for 19 exams, and 21 are up for a vote. See all certifications with their official information, cast your vote or suggest your exam.

See all certifications